[5/5] Expose drive_add on all architectures

Submitted by Alexander Graf on Aug. 23, 2010, 10:02 p.m.

Details

Message ID 1282600951-30803-6-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf Aug. 23, 2010, 10:02 p.m.
All architectures can now use drive_add on the monitor. This of course
does not mean that there is hotplug support for the specific platform,
so in order to actually make use of the new drives you still need to
have a hotplug capable device.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 qemu-monitor.hx |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 2af3de6..892fe9a 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -1101,7 +1101,6 @@  Example:
 
 EQMP
 
-#if defined(TARGET_I386)
     {
         .name       = "drive_add",
         .args_type  = "pci_addr:s,opts:s",
@@ -1113,7 +1112,6 @@  EQMP
         .help       = "add drive to PCI storage controller",
         .mhandler.cmd = drive_hot_add,
     },
-#endif
 
 STEXI
 @item drive_add