qemu-e2k/hw/i386
Paul Durrant ae4d2eb273 xen-platform: add missing disk unplug option
The Xen HVM unplug protocol [1] specifies a mechanism to allow guests to
request unplug of 'aux' disks (which is stated to mean all IDE disks,
except the primary master). This patch adds support for that unplug request.

NOTE: The semantics of what happens if unplug of all disks and 'aux' disks
      is simultaneously requests is not clear. The patch makes that
      assumption that an 'all' request overrides an 'aux' request.

[1] http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/misc/hvm-emulated-unplug.markdown

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
----
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: John Snow <jsnow@redhat.com>
2017-01-27 15:23:29 -08:00
..
kvm kvm: move cpu synchronization code 2017-01-19 22:07:46 +01:00
xen xen-platform: add missing disk unplug option 2017-01-27 15:23:29 -08:00
Makefile.objs hw/i386: Introduce AMD IOMMU 2016-09-24 01:02:00 +03:00
acpi-build.c machine: Make possible_cpu_arch_ids() return const pointer 2017-01-23 21:25:37 -02:00
acpi-build.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
amd_iommu.c i386: amd_iommu: fix MMIO register count and access 2016-12-16 01:14:38 +02:00
amd_iommu.h i386: amd_iommu: fix MMIO register count and access 2016-12-16 01:14:38 +02:00
intel_iommu.c intel_iommu: support device iotlb descriptor 2017-01-10 05:56:58 +02:00
intel_iommu_internal.h intel_iommu: support device iotlb descriptor 2017-01-10 05:56:58 +02:00
kvmvapic.c hw/i386/kvmvapic: Remove dead code in patch_hypercalls() 2017-01-24 23:26:53 +03:00
multiboot.c multiboot: copy the cmdline verbatim, unescape module strings 2016-12-22 16:00:26 +01:00
multiboot.h refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
pc.c hw: Fix typos found by codespell 2017-01-24 23:26:52 +03:00
pc_piix.c pc: Add 2.9 machine-types 2017-01-18 22:59:53 +02:00
pc_q35.c pc: Add 2.9 machine-types 2017-01-18 22:59:53 +02:00
pc_sysfw.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
pci-assign-load-rom.c pci-assign: avoid pointless stat 2017-01-24 23:26:53 +03:00
trace-events trace: move hw/mem/pc-dimm.c trace points into correct file 2016-09-28 19:17:54 +01:00
x86-iommu.c intel_iommu: support device iotlb descriptor 2017-01-10 05:56:58 +02:00