qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] edfb07: xen: drop support for Xen 4.1 and old


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] edfb07: xen: drop support for Xen 4.1 and older.
Date: Fri, 12 Feb 2016 11:00:03 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: edfb07ed2251c08a34d8f9d8f818deef50a1cba8
      
https://github.com/qemu/qemu/commit/edfb07ed2251c08a34d8f9d8f818deef50a1cba8
  Author: Ian Campbell <address@hidden>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M configure
    M hw/i386/xen/xen_apic.c
    M include/hw/xen/xen.h
    M include/hw/xen/xen_common.h
    M xen-hvm.c

  Log Message:
  -----------
  xen: drop support for Xen 4.1 and older.

Xen 4.2 become unsupported upstream in 09/2015 (see
http://wiki.xen.org/wiki/Xen_Release_Features). However as far as the
interfaces provided by the toolstack libraries go 4.2 and 4.3 are
indistinguishable.

Therefore drop support for Xen 4.1 and earlier which removes a whole
pile of compatibility code which makes future work (to use stable
library interfaces provided by upstream) more difficult. In particular
all supported versions now use a pointer as a libxc handle (4.1 and
earlier used an integer, resulting in various shim layers).

Also Xen 4.2 was the first version of Xen to formally support upstream
QEMU (as a preview) so that makes sense as a cut-off now.

This change drops all the configure-y and resulting ifdefs in a mostly
mechanical way. A follow up will refactor wrappers which are now
unused.

Signed-off-by: Ian Campbell <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: 2ac9f6d4b1de075f2ac34eb54b18ddda7a414a2b
      
https://github.com/qemu/qemu/commit/2ac9f6d4b1de075f2ac34eb54b18ddda7a414a2b
  Author: Ian Campbell <address@hidden>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M include/hw/xen/xen_common.h
    M xen-hvm.c

  Log Message:
  -----------
  xen: drop xen_xc_hvm_inject_msi wrapper

The xc version is now always present.

Signed-off-by: Ian Campbell <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: 81daba58803cd11a27c2b4684ee3642302c14351
      
https://github.com/qemu/qemu/commit/81daba58803cd11a27c2b4684ee3642302c14351
  Author: Ian Campbell <address@hidden>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M hw/xen/xen_backend.c
    M include/hw/xen/xen_backend.h
    M include/hw/xen/xen_common.h
    M xen-common.c
    M xen-hvm.c

  Log Message:
  -----------
  xen: drop XenXC and associated interface wrappers

Now that 4.2 and earlier are no longer supported "xc_interface *" is
always the right type for the xc interface handle.

With this we can also simplify the handling of the xenforeignmemory
compatibility wrapper by making xenforeignmemory_handle ==
xc_interface, instead of an xc_interface* and remove various uses of &
and *h.

Signed-off-by: Ian Campbell <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: 6aa0205e49be60f82fc60102188a9e97c98c338d
      
https://github.com/qemu/qemu/commit/6aa0205e49be60f82fc60102188a9e97c98c338d
  Author: Ian Campbell <address@hidden>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M include/hw/xen/xen_common.h

  Log Message:
  -----------
  xen: move xenforeignmemory compat layer into common place

Now that we no longer support Xen 4.2 and earlier only the <470 case
needs this so it can live with all the others.

Signed-off-by: Ian Campbell <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: 47d3df2387ed6927732584ffa4159c26d9f4dee8
      
https://github.com/qemu/qemu/commit/47d3df2387ed6927732584ffa4159c26d9f4dee8
  Author: Ian Campbell <address@hidden>
  Date:   2016-02-10 (Wed, 10 Feb 2016)

  Changed paths:
    M hw/display/xenfb.c
    M xen-hvm.c

  Log Message:
  -----------
  xen: Drop __XEN_LATEST_INTERFACE_VERSION__ checks from prior to Xen 4.2

We assume (and check for in configure) 4.2 or later now. In reality
all of the removed checks are for far older versions.

FMT_ioreq_size is no longer needed.

Signed-off-by: Ian Campbell <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>


  Commit: a5af12871fd4601c44f08d9e49131e9ca13ef102
      
https://github.com/qemu/qemu/commit/a5af12871fd4601c44f08d9e49131e9ca13ef102
  Author: Peter Maydell <address@hidden>
  Date:   2016-02-12 (Fri, 12 Feb 2016)

  Changed paths:
    M configure
    M hw/display/xenfb.c
    M hw/i386/xen/xen_apic.c
    M hw/xen/xen_backend.c
    M include/hw/xen/xen.h
    M include/hw/xen/xen_backend.h
    M include/hw/xen/xen_common.h
    M xen-common.c
    M xen-hvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/sstabellini/tags/xen-2016-02-12' into 
staging

Xen 2016-02-12

# gpg: Signature made Fri 12 Feb 2016 17:28:09 GMT using RSA key ID 70E1AE90
# gpg: Good signature from "Stefano Stabellini <address@hidden>"

* remotes/sstabellini/tags/xen-2016-02-12:
  xen: Drop __XEN_LATEST_INTERFACE_VERSION__ checks from prior to Xen 4.2
  xen: move xenforeignmemory compat layer into common place
  xen: drop XenXC and associated interface wrappers
  xen: drop xen_xc_hvm_inject_msi wrapper
  xen: drop support for Xen 4.1 and older.

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/fc1ec1acffd2...a5af12871fd4

reply via email to

[Prev in Thread] Current Thread [Next in Thread]