qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Few new QMP features


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH] Few new QMP features
Date: Fri, 08 Apr 2011 16:43:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Luiz Capitulino <address@hidden> writes:

> On Tue, 22 Mar 2011 15:55:56 +0300
> Dmitry Konishchev <address@hidden> 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.

[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]