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 <ag...@suse.de>
---
 qemu-monitor.hx |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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
-- 
1.6.0.2


Reply via email to