Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Michael S. Tsirkin
On Mon, Sep 16, 2013 at 05:34:04PM +0200, Paolo Bonzini wrote: > Il 16/09/2013 17:14, Michael S. Tsirkin ha scritto: > > On Mon, Sep 16, 2013 at 12:11:35PM +0200, Paolo Bonzini wrote: > >> Il 16/09/2013 11:54, Marcel Apfelbaum ha scritto: > >>> On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster w

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Paolo Bonzini
Il 16/09/2013 17:14, Michael S. Tsirkin ha scritto: > On Mon, Sep 16, 2013 at 12:11:35PM +0200, Paolo Bonzini wrote: >> Il 16/09/2013 11:54, Marcel Apfelbaum ha scritto: >>> On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster wrote: Marcel Apfelbaum writes: > On Thu, 2013-09-12 at 1

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Michael S. Tsirkin
On Mon, Sep 16, 2013 at 12:11:35PM +0200, Paolo Bonzini wrote: > Il 16/09/2013 11:54, Marcel Apfelbaum ha scritto: > > On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster wrote: > >> Marcel Apfelbaum writes: > >> > >>> On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: > Paolo Bonzi

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Gleb Natapov
On Mon, Sep 16, 2013 at 12:54:39PM +0300, Marcel Apfelbaum wrote: > On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster wrote: > > Marcel Apfelbaum writes: > > > > > On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: > > >> Paolo Bonzini writes: > > >> > > >> > Il 11/09/2013 20:26, Ma

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Paolo Bonzini
Il 16/09/2013 11:54, Marcel Apfelbaum ha scritto: > On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster wrote: >> Marcel Apfelbaum writes: >> >>> On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: Paolo Bonzini writes: > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: >>

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Marcel Apfelbaum
On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster wrote: > Marcel Apfelbaum writes: > > > On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: > >> Paolo Bonzini writes: > >> > >> > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: > >> >> Qemu is expected to quit if the same boot ind

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-12 Thread Marcel Apfelbaum
On Thu, 2013-09-12 at 13:04 +0200, Markus Armbruster wrote: > Marcel Apfelbaum writes: > > > On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: > >> Paolo Bonzini writes: > >> > >> > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: > >> >> Qemu is expected to quit if the same boot ind

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-12 Thread Markus Armbruster
Marcel Apfelbaum writes: > On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: >> Paolo Bonzini writes: >> >> > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: >> >> Qemu is expected to quit if the same boot index value is used by >> >> two devices. >> >> However, hot-plugging a devic

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-12 Thread Marcel Apfelbaum
On Thu, 2013-09-12 at 11:43 +0200, Markus Armbruster wrote: > Paolo Bonzini writes: > > > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: > >> Qemu is expected to quit if the same boot index value is used by two > >> devices. > >> However, hot-plugging a device with a bootindex value already u

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-12 Thread Markus Armbruster
Paolo Bonzini writes: > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: >> Qemu is expected to quit if the same boot index value is used by two devices. >> However, hot-plugging a device with a bootindex value already used should >> fail with a friendly message rather than quitting a running VM

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-12 Thread Marcel Apfelbaum
On Thu, 2013-09-12 at 09:49 +0200, Paolo Bonzini wrote: > Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: > > Qemu is expected to quit if the same boot index value is used by two > > devices. > > However, hot-plugging a device with a bootindex value already used should > > fail with a friendly m

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-12 Thread Paolo Bonzini
Il 11/09/2013 20:26, Marcel Apfelbaum ha scritto: > Qemu is expected to quit if the same boot index value is used by two devices. > However, hot-plugging a device with a bootindex value already used should > fail with a friendly message rather than quitting a running VM. I think the problem is rig

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-11 Thread Marcel Apfelbaum
On Wed, 2013-09-11 at 21:26 +0300, Marcel Apfelbaum wrote: > Qemu is expected to quit if the same boot index value is used by two devices. > However, hot-plugging a device with a bootindex value already used should > fail with a friendly message rather than quitting a running VM. > > Signed-off-by

[Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-11 Thread Marcel Apfelbaum
Qemu is expected to quit if the same boot index value is used by two devices. However, hot-plugging a device with a bootindex value already used should fail with a friendly message rather than quitting a running VM. Signed-off-by: Marcel Apfelbaum --- qdev-monitor.c | 33