]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Expose drive_add on all architectures
authorAlexander Graf <agraf@suse.de>
Wed, 13 Jul 2011 12:08:32 +0000 (14:08 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 4 Jan 2012 01:48:14 +0000 (02:48 +0100)
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>
hmp-commands.hx

index 14838b7faec5e2e2f9a0459dab0d79f17e7e1631..a586498495020fa08e60e9f75e227459809f4f71 100644 (file)
@@ -846,7 +846,6 @@ STEXI
 Snapshot device, using snapshot file as target if provided
 ETEXI
 
-#if defined(TARGET_I386)
     {
         .name       = "drive_add",
         .args_type  = "pci_addr:s,opts:s",
@@ -859,7 +858,6 @@ ETEXI
         .help       = "add drive to PCI storage controller",
         .mhandler.cmd = drive_hot_add,
     },
-#endif
 
 STEXI
 @item drive_add