Re: [Qemu-devel] [PATCH] qdev: DEVICE_DELETED event

2013-03-07 Thread Osier Yang
On 2013年03月08日 03:15, Michael S. Tsirkin wrote: On Thu, Mar 07, 2013 at 08:00:29PM +0100, Andreas Färber wrote: Am 07.03.2013 19:12, schrieb Michael S. Tsirkin: On Thu, Mar 07, 2013 at 06:23:46PM +0100, Markus Armbruster wrote: "Michael S. Tsirkin" writes: On Thu, Mar 07, 2013 at 03:14:15PM

Re: [Qemu-devel] [PATCH] qdev: DEVICE_DELETED event

2013-03-08 Thread Osier Yang
On 2013年03月08日 17:25, Jiri Denemark wrote: On Fri, Mar 08, 2013 at 09:50:55 +0100, Markus Armbruster wrote: Osier Yang writes: I'm wondering if it could be long time to wait for the device_del completes (AFAIK from previous bugs, it can be, though it should be fine for most of the cases

Re: [Qemu-devel] [PATCH] qdev: DEVICE_DELETED event

2013-03-08 Thread Osier Yang
On 2013年03月08日 16:50, Markus Armbruster wrote: Osier Yang writes: I'm wondering if it could be long time to wait for the device_del completes (AFAIK from previous bugs, it can be, though it should be fine for most of the cases). If it's too long, it will be a problem for managemen

Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema

2013-04-19 Thread Osier Yang
Signed-off-by: Amos Kong CC: Osier Yang CC: Anthony Liguori --- Reposted this patch: https://www.redhat.com/archives/libvir-list/2013-January/msg01656.html --- qapi-schema.json | 26 ++ qemu-options-wrapper.h | 16 qmp-comma

Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema

2013-04-19 Thread Osier Yang
On 19/04/13 20:02, Osier Yang wrote: On 19/04/13 17:52, Amos Kong wrote: Libvirt doesn't have a stable way to know option support Actually no way now. Libvirt swtiched to use qmp to collect the qemu capabilities for qemu newer than 1.2.0, thus there is no way to probe either if a opti

Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema

2013-04-19 Thread Osier Yang
e time you can connect to a human monitor, you've already invoked the command line, and humans can read -help. It's just libvirt (and other management apps) that need a machine-parseable alternative to -help. Signed-off-by: Amos Kong CC: Osier Yang CC: Anthony Liguori --- Reposte

Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema command

2013-04-24 Thread Osier Yang
review. More comments below. Signed-off-by: Amos Kong CC: Osier Yang CC: Anthony Liguori Signed-off-by: Amos Kong --- qapi-schema.json | 64 ++ qmp-commands.hx| 43

Re: [Qemu-devel] [PATCH] monitor: introduce query-config-schema command

2013-04-24 Thread Osier Yang
On 25/04/13 11:52, Amos Kong wrote: On Wed, Apr 24, 2013 at 01:39:08PM -0600, Eric Blake wrote: On 04/24/2013 12:20 PM, Luiz Capitulino wrote: On Thu, 25 Apr 2013 01:33:24 +0800 Amos Kong wrote: Libvirt has no way to probe if an option or property is supported, This patch introdues a new qmp

Re: [Qemu-devel] [PATCH v4] monitor: introduce query-command-line-options

2013-04-24 Thread Osier Yang
On 25/04/13 13:06, Amos Kong wrote: Libvirt has no way to probe if an option or property is supported, This patch introdues a new qmp command to query command line option information. hmp command isn't added because it's not needed. Signed-off-by: Amos Kong CC: Osier Yang CC: Antho

Re: [Qemu-devel] [PATCH v5] monitor: introduce query-command-line-options

2013-04-25 Thread Osier Yang
not needed. Signed-off-by: Amos Kong CC: Luiz Capitulino CC: Osier Yang CC: Anthony Liguori This version looks good to me, but it has two small problems. First, some options like -drive, -net, -netdev and -device have an empty QemuOptsList, meaning that option validation is not done upfront. N

Re: [Qemu-devel] [RFC 00/10]: QMP/HMP: Introduce tray handling commands

2011-12-19 Thread Osier Yang
On 2011年06月04日 03:03, Luiz Capitulino wrote: In a recent discussion on the mailing list regarding the introduction of the BLOCK_TRAY_OPEN and BLOCK_TRAY_CLOSE events[1], it was mentioned that we need to fix the eject command and maybe introduce new commands first. Here's a my proposal. This ser

Re: [Qemu-devel] [RFC 00/10]: QMP/HMP: Introduce tray handling commands

2012-01-11 Thread Osier Yang
On 2012年01月04日 03:28, Luiz Capitulino wrote: On Tue, 20 Dec 2011 14:49:47 +0800 Osier Yang wrote: On 2011年06月04日 03:03, Luiz Capitulino wrote: In a recent discussion on the mailing list regarding the introduction of the BLOCK_TRAY_OPEN and BLOCK_TRAY_CLOSE events[1], it was mentioned that we

Re: [Qemu-devel] [KVM-AUTOTEST] [RFC] Future goals for autotest and virtualization tests

2012-03-09 Thread Osier Yang
On 2012年03月08日 20:17, Ademar Reis wrote: On Thu, Mar 08, 2012 at 11:54:31AM +, Stefan Hajnoczi wrote: On Thu, Mar 8, 2012 at 11:44 AM, Stefan Hajnoczi wrote: On Thu, Mar 8, 2012 at 4:00 AM, Lucas Meneghel Rodrigues wrote: One of our main goals is to provide useful tools for the qemu com

Re: [Qemu-devel] [RFC] block I/O throttling: how to enable in libvirt

2011-08-31 Thread Osier Yang
于 2011年09月01日 11:55, Zhi Yong Wu 写道: On Wed, Aug 31, 2011 at 08:18:19AM +0100, Stefan Hajnoczi wrote: Subject: Re: The design choice for how to enable block I/O throttling function in libvirt From: Stefan Hajnoczi To: Adam Litke Cc: libvir-l...@redhat.com, "Daniel P. Berrange", Zhi Yong Wu, Zhi