Re: [Qemu-devel] [PATCH] [RFC] Add glib support to main loop

2011-07-27 Thread Anthony Liguori
On 07/27/2011 04:21 PM, Stefan Weil wrote: NDEBUG is normally set automatically for production code, and it disables assertions which is not always good. Assertions are useful even in production code unless you are sure that the code is bug free or the assertions cost to much resources - either

Re: [Qemu-devel] [RFC][PATCH 0/21] QEMU Object Model

2011-07-27 Thread Peter Maydell
On 26 July 2011 15:02, Anthony Liguori wrote: > In my attempt at PCI modelling, I had something like: > > struct I440FX > { >   Device parent; > >   PciDevice slots[32]; > }; > > Which means that to attach to bus 0, slot 3, fn 0, you do: > > i440fx->slots[3] = mydevice So what I don't really unde

Re: [Qemu-devel] [PATCH v3] Add support for fd: protocol

2011-07-27 Thread Blue Swirl
On Tue, Jul 26, 2011 at 3:51 PM, Corey Bryant wrote: > sVirt provides SELinux MAC isolation for Qemu guest processes and their > corresponding resources (image files). sVirt provides this support > by labeling guests and resources with security labels that are stored > in file system extended attr

Re: [Qemu-devel] MinGW compilation shouldn't include -lglib-2.0 etc.

2011-07-27 Thread Jernej Simončič
On Wednesday, July 27, 2011, 22:46:41, Kenneth Salerno wrote: > c:/devel/target/ea4ef54bcf881bcdd4139385601018a2/lib/glib-2.0/include: No > such file or directory This happens if you're not using mingw's pkg-config (which automatically adjusts prefix) - you'll have to edit your .pc files. -- <

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-27 Thread Blue Swirl
On Wed, Jul 27, 2011 at 9:42 PM, Luiz Capitulino wrote: > This function should be used when the VM is not supposed to resume > execution (eg. by issuing 'cont' monitor command). > > Today, we allow the user to resume execution even when: > >  o the guest shuts down and -no-shutdown is used >  o th

Re: [Qemu-devel] [RFC][PATCH 0/21] QEMU Object Model

2011-07-27 Thread Anthony Liguori
On 07/27/2011 04:33 PM, Peter Maydell wrote: On 26 July 2011 15:02, Anthony Liguori wrote: In my attempt at PCI modelling, I had something like: struct I440FX { Device parent; PciDevice slots[32]; }; Which means that to attach to bus 0, slot 3, fn 0, you do: i440fx->slots[3] = mydevic

Re: [Qemu-devel] 0.15.0 Testing volunteers

2011-07-27 Thread Zhi Yong Wu
OK. i will do it. thanks. On Wed, Jul 27, 2011 at 10:45 PM, Stefan Hajnoczi wrote: > On Wed, Jul 27, 2011 at 3:37 AM, Zhi Yong Wu wrote: >> For networking and migration areas, is there any new feature to be >> tested? If yes, can i be their testing volunteer? >> >> If QMP has not a voluntter, i

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-27 Thread Zhi Yong Wu
On Wed, Jul 27, 2011 at 8:58 PM, Stefan Hajnoczi wrote: > On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu wrote: >> On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti wrote: >>> On Tue, Jul 26, 2011 at 04:59:06PM +0800, Zhi Yong Wu wrote: Welcome to give me your comments, thanks. Sign

Re: [Qemu-devel] RFC: moving fsfreeze support from the userland guest agent to the guest kernel

2011-07-27 Thread Fernando Luis Vázquez Cao
On Wed, 2011-07-27 at 17:24 +0200, Andrea Arcangeli wrote: > making > sure no lib is calling any I/O function to be able to defreeze the > filesystems later, making sure the oom killer or a wrong kill -9 > $RANDOM isn't killing the agent by mistake while the I/O is blocked > and the copy is going.

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-27 Thread Zhi Yong Wu
On Wed, Jul 27, 2011 at 11:49 PM, Marcelo Tosatti wrote: > On Wed, Jul 27, 2011 at 06:17:15PM +0800, Zhi Yong Wu wrote: >> >> +        wait_time = 1; >> >> +    } >> >> + >> >> +    wait_time = wait_time + (slice_time - elapsed_time); >> >> +    if (wait) { >> >> +        *wait = wait_time * BLOCK

Re: [Qemu-devel] [PATCH 1/1] balloon: Ignore negative balloon values

2011-07-27 Thread Amit Shah
On (Wed) 27 Jul 2011 [15:49:18], Markus Armbruster wrote: > Amit Shah writes: > > > Negative balloon values don't make sense, ignore them. > > > > Reported-by: Mike Cao > > Signed-off-by: Amit Shah > > --- > > I'm not sure if error_report is the right thing to use or should a new > > qerror_rep

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2011-07-27 Thread Chris Halse Rogers
Serge - why do you think this can't be SRU'd? It's already been accepted into lucid-proposed once, then verified, and the only reason it's not in lucid-updates is that it got superseded by a security upload before the 7-day testing period had elapsed. If you made a new upload to lucid-proposed ba

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-27 Thread Zhi Yong Wu
On Wed, Jul 27, 2011 at 8:58 PM, Stefan Hajnoczi wrote: > On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu wrote: >> On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti wrote: >>> On Tue, Jul 26, 2011 at 04:59:06PM +0800, Zhi Yong Wu wrote: Welcome to give me your comments, thanks. Sign

[Qemu-devel] [PATCH v2 0/5] balloon: fix memleaks, invalid arguments, unplug

2011-07-27 Thread Amit Shah
Hello, This series is on top of the other balloon series for which I sent a pull request on Tuesday. This series fixes memleak on exit, unregisters the savevm section on unplug, disallows negative values as ballooning targets and doesn't allow multiple balloon device registrations. v2 contains s

[Qemu-devel] [PATCH v2 2/5] virtio-balloon: Check if balloon registration failed

2011-07-27 Thread Amit Shah
Multiple balloon registrations are not allowed; check if the registration with the qemu balloon api succeeded. If not, fail the device init. Signed-off-by: Amit Shah --- hw/virtio-balloon.c |9 - hw/virtio-pci.c |3 +++ 2 files changed, 11 insertions(+), 1 deletions(-) diff

Re: [Qemu-devel] [PATCH v2 4/5] virtio-balloon: Add exit handler, fix memleaks

2011-07-27 Thread Amit Shah
On (Thu) 28 Jul 2011 [11:47:15], Amit Shah wrote: > Add an exit handler that will free up RAM and unregister the savevm > section after a virtio-balloon device is unplugged. This commit message should be changed; I'll do that in the pull request I send out. Amit

[Qemu-devel] [PATCH v2 5/5] virtio-balloon: Unregister savevm section on device unplug

2011-07-27 Thread Amit Shah
Migrating after unplugging a virtio-balloon device resulted in an error message on the destination: Unknown savevm section or instance ':00:04.0/virtio-balloon' 0 load of migration failed Fix this by unregistering the section on device unplug. Signed-off-by: Amit Shah --- hw/virtio-balloon

[Qemu-devel] [PATCH v2 3/5] balloon: Ignore negative balloon values

2011-07-27 Thread Amit Shah
Negative balloon values don't make sense, ignore them. Reported-by: Mike Cao Signed-off-by: Amit Shah --- balloon.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/balloon.c b/balloon.c index 5200565..f56fdc1 100644 --- a/balloon.c +++ b/balloon.c @@ -140,6 +140,

[Qemu-devel] [PATCH v2 4/5] virtio-balloon: Add exit handler, fix memleaks

2011-07-27 Thread Amit Shah
Add an exit handler that will free up RAM and unregister the savevm section after a virtio-balloon device is unplugged. Signed-off-by: Amit Shah --- hw/virtio-balloon.c |5 + hw/virtio-pci.c | 11 ++- hw/virtio.h |1 + 3 files changed, 16 insertions(+), 1 deleti

[Qemu-devel] [PATCH v2 1/5] balloon: Don't allow multiple balloon handler registrations

2011-07-27 Thread Amit Shah
Multiple balloon devices don't make sense; disallow more than one registration attempt to register handlers. Signed-off-by: Amit Shah --- balloon.c | 12 ++-- balloon.h |4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/balloon.c b/balloon.c index a938475..520

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2011-07-27 Thread Michael Tokarev
I see activity around this bug is going on and on, but I don't understand -- is the talk about this patch -- http://anonscm.debian.org/gitweb/?p=collab-maint/qemu-kvm.git;a=commit;h=7e32b4ca0ea280a2e8f4d9ace1a15d5e633d9a95 ? -- You received this bug notification because you are a member of qemu

<    1   2   3