]> Git Repo - qemu.git/commit - hw/ide/piix.c
xen-platform: add missing disk unplug option
authorPaul Durrant <[email protected]>
Tue, 24 Jan 2017 14:05:47 +0000 (14:05 +0000)
committerStefano Stabellini <[email protected]>
Fri, 27 Jan 2017 23:23:29 +0000 (15:23 -0800)
commitae4d2eb273b167dad748ea4249720319240b1ac2
tree29daef99af3e9563fd9ad480289e864101bd78af
parent090fa1c8c837ebabf8c199031e0f9a9bcdf26814
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 <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
----
Cc: Stefano Stabellini <[email protected]>
Cc: Anthony Perard <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: John Snow <[email protected]>
hw/i386/xen/xen_platform.c
hw/ide/piix.c
include/hw/ide.h
This page took 0.026431 seconds and 4 git commands to generate.