qemu/hw/i386/xen
Stefano Stabellini 04d6da4ff6 xen-platform: separate unplugging of NVMe disks
Commit 090fa1c8 "add support for unplugging NVMe disks..." extended the
existing disk unplug flag to cover NVMe disks as well as IDE and SCSI.

The recent thread on the xen-devel mailing list [1] has highlighted that
this is not desirable behaviour: PV frontends should be able to distinguish
NVMe disks from other types of disk and should have separate control over
whether they are unplugged.

This patch defines a new bit in the unplug mask for this purpose (see Xen
commit [2]) and also tidies up the definitions of, and improves the
comments regarding, the previously exiting bits in the protocol.

[1] https://lists.xen.org/archives/html/xen-devel/2017-03/msg02924.html
[2] http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=1096aa02

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
2017-07-18 14:12:06 -07:00
..
Makefile.objs move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
trace-events move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
xen-hvm.c hw: Use new memory_region_init_{ram, rom, rom_device}() functions 2017-07-14 17:59:42 +01:00
xen-mapcache.c xen/mapcache: store dma information in revmapcache entries for debugging 2017-05-16 11:49:09 -07:00
xen_apic.c apic: add send_msi() to APICCommonClass 2016-10-17 15:44:49 -02:00
xen_platform.c xen-platform: separate unplugging of NVMe disks 2017-07-18 14:12:06 -07:00
xen_pvdevice.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00