Luiz Capitulino <lcapitul...@redhat.com> writes: > On Tue, 22 Mar 2011 15:55:56 +0300 > Dmitry Konishchev <konishc...@gmail.com> wrote: > >> Hi! I use QEMU via QMP and I've discovered that for some tasks there >> is no proper way to do them via QMP. I've written few patches: > > I'm going to respond you without looking at the patches. > >> * One of them modifies "pci_add" command to return pci address of the >> added device, when user hasn't specified it (to be able to delete it >> via "pci_del" in the future). > > The pci_add command is not available in QMP because it's a bad interface, > we use device_add (for the guest part) and additional commands like > netdev_add for the host part.
These should let you do everything you can do with pci_add. If not, it's a bug; report it to get it fixed. > Unfortunately, block hot plug is still missing. in QMP. This is a known bug. > This is going to be done > by blockdev_add, which is under development. Any updates, Markus? Haven't been able to pursue this lately, sorry. I really want to, but crazy times around here... > You can use the human-monitor-command as a workaround if you want to, but > please, be sure to read its documentation, specially the part that says > that this is not a stable interface. Possibly via QMP command human-monitor-command. [...]