Re: [Qemu-devel] [SeaBIOS] [Qemu-stable] problems with freeBSD

2013-03-08 Thread Gerd Hoffmann
On 03/08/13 08:47, Paolo Bonzini wrote: >> FWIW I find the binaries in git to be a PITA. I submitted a patch in >> January to fix the VGA BIOS but it's still broken in git. The one >> installed in /usr/share/qemu is fine, but whenever I build qemu from git >> I have to remember to *remove* the one

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

2013-03-08 Thread Markus Armbruster
"Michael S. Tsirkin" writes: > On Thu, Mar 07, 2013 at 08:57:52PM +0100, Markus Armbruster wrote: >> "Michael S. Tsirkin" writes: >> >> > libvirt has a long-standing bug: when removing the device, >> > it can request removal but does not know when the >> > removal completes. Add an event so we

Re: [Qemu-devel] [SeaBIOS] [Qemu-stable] problems with freeBSD

2013-03-08 Thread Paolo Bonzini
Il 08/03/2013 09:20, Gerd Hoffmann ha scritto: > On 03/08/13 08:47, Paolo Bonzini wrote: >>> FWIW I find the binaries in git to be a PITA. I submitted a patch in >>> January to fix the VGA BIOS but it's still broken in git. The one >>> installed in /usr/share/qemu is fine, but whenever I build qemu

Re: [Qemu-devel] [PATCH 4/7] block: initial VHDX driver support framework - supports open and probe

2013-03-08 Thread Kevin Wolf
Am 07.03.2013 um 17:12 hat Stefan Hajnoczi geschrieben: > On Thu, Mar 07, 2013 at 10:23:54AM -0500, Jeff Cody wrote: > > On Thu, Mar 07, 2013 at 03:30:44PM +0100, Stefan Hajnoczi wrote: > > > On Wed, Mar 06, 2013 at 09:48:11AM -0500, Jeff Cody wrote: > > > > +ret = bdrv_pread(bs->file, s->bat_o

Re: [Qemu-devel] [PATCH 3/9] dataplane: remove EventPoll in favor of AioContext

2013-03-08 Thread Christian Borntraeger
On 04/03/13 10:15, Stefan Hajnoczi wrote: > From: Paolo Bonzini > > During the review of the dataplane code, the EventPoll API morphed itself > (not concidentially) into something very very similar to an AioContext. > Thus, it is trivial to convert virtio-blk-dataplane to use AioContext, > and a

[Qemu-devel] [graphic & serial on sun4m]

2013-03-08 Thread Jean-Michel SCHRAMM
Hi Artyom, Thanks again for your interest. Le 07/03/2013 23:58, Artyom Tarasenko a écrit : Hi Jean Michel, On Thu, Mar 7, 2013 at 4:09 PM, Jean-Michel SCHRAMM wrote: Hello Artyom, Thanks for taking time to consider my needs for serial ports. I went on board Thalassa this morning and start

Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 broken

2013-03-08 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 06:14:28PM +0100, Samuel Thibault wrote: > Stefan Hajnoczi, le Thu 07 Mar 2013 10:38:26 +0100, a écrit : > > On Wed, Mar 06, 2013 at 02:15:25PM +0100, Samuel Thibault wrote: > > > Stefan Hajnoczi, le Wed 06 Mar 2013 13:29:37 +0100, a écrit : > > > > On Tue, Mar 05, 2013 at 0

Re: [Qemu-devel] [Bug 1151986] Re: buffer overflow after block-stream via QMP

2013-03-08 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 06:14:27PM -, Helge Rausch wrote: > I cannot reproduce it anymore on master. One option we now have without > building it ourselves is using 1.4.0 from Ubuntu's raring derivate. > Would you consider that stable enough for production use (the qemu > package, not raring)?

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

2013-03-08 Thread Markus Armbruster
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 management, because it looks like hanging. We can have a timeout

Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 broken

2013-03-08 Thread Samuel Thibault
Stefan Hajnoczi, le Fri 08 Mar 2013 09:43:18 +0100, a écrit : > On Thu, Mar 07, 2013 at 06:14:28PM +0100, Samuel Thibault wrote: > > Stefan Hajnoczi, le Thu 07 Mar 2013 10:38:26 +0100, a écrit : > > > On Wed, Mar 06, 2013 at 02:15:25PM +0100, Samuel Thibault wrote: > > > > Stefan Hajnoczi, le Wed 0

Re: [Qemu-devel] [Qemu-trivial] [PATCH][RESENT] configure: Create link to icon bitmap for out-of-tree builds

2013-03-08 Thread Stefan Hajnoczi
On Fri, Feb 22, 2013 at 09:05:01PM +0100, Jan Kiszka wrote: > This allows to pick up the icon when starting QEMU directly from an > out-of-tree build directory. > > Signed-off-by: Jan Kiszka > --- > configure |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Thanks, applied to the tr

Re: [Qemu-devel] [Qemu-trivial] [PATCH] rtc-test: Fix test failures with recent glib

2013-03-08 Thread Stefan Hajnoczi
On Tue, Feb 26, 2013 at 07:31:32PM -0500, Cole Robinson wrote: > As of glib 2.35.4, glib changed its logic for ordering test cases: > > https://bugzilla.gnome.org/show_bug.cgi?id=694487 > > This was causing failures in rtc-test. Group the reordered test > cases into their own suite, which maintai

Re: [Qemu-devel] [PATCH] lm32: remove unused function

2013-03-08 Thread Stefan Hajnoczi
On Mon, Mar 04, 2013 at 06:11:47PM +0100, Paolo Bonzini wrote: > The milkymist-minimac device in fact does not exist at all. > > Signed-off-by: Paolo Bonzini > --- > hw/milkymist-hw.h | 16 > 1 file changed, 16 deletions(-) Thanks, applied to the trivial patches tree: https://g

Re: [Qemu-devel] [PATCH] Use proper term in TCG README

2013-03-08 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 11:33:01AM +0800, 陳韋任 (Wei-Ren Chen) wrote: > In TCG, "target" means the host architecture for which TCG generates the > code. Using "guest" rather than "target" to make the document more consistent. > > Signed-off-by: Chen Wei-Ren > --- > tcg/README | 2 +- > 1 file ch

Re: [Qemu-devel] [PATCH v2] osdep: replace setsockopt by qemu_setsockopt

2013-03-08 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 10:29:16PM +0800, Lei Li wrote: > Fix the compiler warning when cross build qemu-ga > for windows by using qemu_setsockopt() instead of > setsockopt(). > > util/osdep.c: In function 'socket_set_nodelay': > util/osdep.c:69:5: warning: passing argument 4 of 'setsockopt' from

Re: [Qemu-devel] [PATCH 3/9] dataplane: remove EventPoll in favor of AioContext

2013-03-08 Thread Paolo Bonzini
Il 08/03/2013 09:37, Christian Borntraeger ha scritto: > +if (assign) { > +int r = event_notifier_init(notifier, 0); > + > +if (r < 0) { > +return r; > +} > +virtio_queue_set_guest_notifier_fd_handler(vq, true, with_irqfd); Perhaps you can simply har

Re: [Qemu-devel] [PATCH 1/7] block: only force IO completion in .bdrv_truncate if we are shrinking

2013-03-08 Thread Paolo Bonzini
Il 08/03/2013 08:53, Peter Lieven ha scritto: >> >> I think the fix is to only call it for the monitor command. Optionally, >> when shrinking, assert that there are no requests in flight. > > Okay. > > What is the plan? just fix this or fix the whole thing (which seems to > be some > work). > >

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

2013-03-08 Thread Jiri Denemark
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). If it's too long, it will be a pro

Re: [Qemu-devel] [PATCH] Use proper term in TCG README

2013-03-08 Thread Peter Maydell
On 8 March 2013 17:21, Stefan Hajnoczi wrote: > On Thu, Mar 07, 2013 at 11:33:01AM +0800, 陳韋任 (Wei-Ren Chen) wrote: >> In TCG, "target" means the host architecture for which TCG generates the >> code. Using "guest" rather than "target" to make the document more >> consistent. >> @@ -379,7 +379

[Qemu-devel] [Bug 1151986] Re: buffer overflow after block-stream via QMP

2013-03-08 Thread Helge Rausch
Alright. Thank you! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1151986 Title: buffer overflow after block-stream via QMP Status in QEMU: New Bug description: When a block-stream is initiat

Re: [Qemu-devel] [PATCH 1/7] block: only force IO completion in .bdrv_truncate if we are shrinking

2013-03-08 Thread Kevin Wolf
Am 08.03.2013 um 10:23 hat Paolo Bonzini geschrieben: > Il 08/03/2013 08:53, Peter Lieven ha scritto: > >> > >> I think the fix is to only call it for the monitor command. Optionally, > >> when shrinking, assert that there are no requests in flight. > > > > Okay. > > > > What is the plan? just f

[Qemu-devel] [PULL 0/5] Trivial patches for 22 February to 8 March 2013

2013-03-08 Thread Stefan Hajnoczi
The following changes since commit 0bc472a9d6b80567c212023c5eae413f4dfb53ad: hw/nand.c: correct the sense of the BUSY/READY status bit (2013-03-07 09:27:11 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git trivial-patches for you to fetch changes up to 5ccbb

[Qemu-devel] [PATCH 1/5] configure: Require at least spice-protocol-0.12.3

2013-03-08 Thread Stefan Hajnoczi
From: Michal Privoznik As of 5a49d3e9 we assume SPICE_PORT_EVENT_BREAK to be defined. However, it is defined not in 0.12.2 what we require now, but in 0.12.3. Therefore in order to prevent build failure we must adjust our minimal requirements. Signed-off-by: Stefan Hajnoczi --- configure | 2

[Qemu-devel] [PATCH 5/5] osdep: replace setsockopt by qemu_setsockopt

2013-03-08 Thread Stefan Hajnoczi
From: Lei Li Fix the compiler warning when cross build qemu-ga for windows by using qemu_setsockopt() instead of setsockopt(). util/osdep.c: In function 'socket_set_nodelay': util/osdep.c:69:5: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled

[Qemu-devel] [PATCH 4/5] Fix the wrong description in qemu manual

2013-03-08 Thread Stefan Hajnoczi
From: Lei Li Fix LP#1151450 the wrong description in qemu manual: 'qemu-system-x86_84' should be 'qemu-system-x86_64'. Signed-off-by: Lei Li Signed-off-by: Stefan Hajnoczi --- qemu-options.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-options.hx b/qemu-options.h

[Qemu-devel] [PATCH 3/5] pci_host: Drop write-only address_space field

2013-03-08 Thread Stefan Hajnoczi
From: Peter Maydell The address_space field of PCIHostState was only ever written, never used. Drop it completely. Signed-off-by: Peter Maydell Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- hw/pci/pci_host.h | 1 - hw/piix_pci.c | 1 - hw/ppc/prep.c | 1 - 3 files ch

[Qemu-devel] [PATCH 2/5] rng-random: Use qemu_open / qemu_close

2013-03-08 Thread Stefan Hajnoczi
From: Stefan Berger In the rng backend use qemu_open and qemu_close rather than POSIX open/close. Signed-off-by: Stefan Berger Reviewed-by: Eric Blake Signed-off-by: Stefan Hajnoczi --- backends/rng-random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/rng

Re: [Qemu-devel] [SeaBIOS] [Qemu-stable] problems with freeBSD

2013-03-08 Thread Gerd Hoffmann
> Did it? This is F18: > > $ rpm -q --requires qemu-system-x86|grep bios > seabios-bin >= 0.6.0-2 > sgabios-bin > vgabios >= 0.6c-2 Oops. There is a seavgabios-bin package too, and I through cole switched qemu over, but apparently this didn't happen (or maybe in rawhide only) ... cheers, Ger

Re: [Qemu-devel] [PATCH] Use proper term in TCG README

2013-03-08 Thread Stefan Hajnoczi
On Fri, Mar 08, 2013 at 05:29:29PM +0800, Peter Maydell wrote: > On 8 March 2013 17:21, Stefan Hajnoczi wrote: > > On Thu, Mar 07, 2013 at 11:33:01AM +0800, 陳韋任 (Wei-Ren Chen) wrote: > >> In TCG, "target" means the host architecture for which TCG generates the > >> code. Using "guest" rather tha

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). If

[Qemu-devel] [PATCH] Add search path support for qemu data files.

2013-03-08 Thread Gerd Hoffmann
This patch allows to specify multiple directories where qemu should look for data files. To implement that the behavior of the -L switch is slightly different now: Instead of replacing the data directory the path specified will be appended to the data directory list. So when specifiying -L multi

Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands

2013-03-08 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 09:28:40AM +, Dietmar Maurer wrote: > > > When we run backup, we need to read such block on every write from the > > guest. > > > So if we increase block size we get additional delays. > > > > Don't increase the bitmap block size. > > > > Just let the block job do larg

Re: [Qemu-devel] [PATCH] qcow2: make is_allocated return true for zero clusters

2013-03-08 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 06:02:01PM +0100, Paolo Bonzini wrote: > Otherwise, live migration of the top layer will miss zero clusters and > let the backing file show through. This also matches what is done in qed. > > QCOW2_CLUSTER_ZERO clusters are invalid in v2 image files. Check this > directly

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 management, because it

Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands

2013-03-08 Thread Dietmar Maurer
> > Anyways, and additional RPC layer always adds overhead, and It can be > completely avoided. > > Maybe not much, but I want to make backup as efficient as possible. > > The drawbacks outweight the performance advantage: not for me. > 1. QEMU can neither backup nor restore without help from th

Re: [Qemu-devel] [PATCH V7 0/5] Send the gratuitous by guest

2013-03-08 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 12:52:42PM +0200, Michael S. Tsirkin wrote: > On Thu, Mar 07, 2013 at 06:33:30PM +0800, Jason Wang wrote: > > On 03/07/2013 06:25 PM, Michael S. Tsirkin wrote: > > > On Thu, Mar 07, 2013 at 06:13:41PM +0800, Jason Wang wrote: > > >> On 03/07/2013 06:04 PM, Michael S. Tsirkin

[Qemu-devel] Host kernel crash at pci_find_upstream_pcie_bridge on VM exit

2013-03-08 Thread Ganesh Narayanaswamy
Hi, I am running qemu with kvm and VT-d enabled and a couple of PCI devices assigned to the guest VM. Both host and guest are running linux 2.6 kernel. The passthrough works fine, but when I exit the VM, the host kernel crashes with the following backtrace: <4>[ 5569.836893] Process qemu-sys

[Qemu-devel] [PULL] chardev: qapi conversion continued

2013-03-08 Thread Gerd Hoffmann
Hi, This pull adds support for the missing chardev types and finally re-enabling the hmp monitor chardev-add chardev-remove commands as qmp is on par with hmp feature-wise now. Patches have been posted for review here: https://lists.nongnu.org/archive/html/qemu-devel/2013-02/msg05273.html Th

Re: [Qemu-devel] [SeaBIOS] problems with freeBSD

2013-03-08 Thread Laszlo Ersek
On 03/08/13 04:35, Kevin O'Connor wrote: > On Thu, Mar 07, 2013 at 09:43:04AM +0100, Aurelien Jarno wrote: >> On Wed, Mar 06, 2013 at 07:53:51PM -0500, Kevin O'Connor wrote: >>> That change is definitely just build related - I don't see how it >>> could impact the final SeaBIOS binary. How did you

Re: [Qemu-devel] [PATCH 1/7] block: only force IO completion in .bdrv_truncate if we are shrinking

2013-03-08 Thread Peter Lieven
Am 08.03.2013 um 10:35 schrieb Kevin Wolf : > Am 08.03.2013 um 10:23 hat Paolo Bonzini geschrieben: >> Il 08/03/2013 08:53, Peter Lieven ha scritto: I think the fix is to only call it for the monitor command. Optionally, when shrinking, assert that there are no requests in flight

Re: [Qemu-devel] [PATCH 1/7] block: only force IO completion in .bdrv_truncate if we are shrinking

2013-03-08 Thread Kevin Wolf
Am 08.03.2013 um 12:46 hat Peter Lieven geschrieben: > > Am 08.03.2013 um 10:35 schrieb Kevin Wolf : > > > Am 08.03.2013 um 10:23 hat Paolo Bonzini geschrieben: > >> Il 08/03/2013 08:53, Peter Lieven ha scritto: > > I think the fix is to only call it for the monitor command. Optionall

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

2013-03-08 Thread Markus Armbruster
Osier Yang writes: > 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

Re: [Qemu-devel] [PULL 0/5] Trivial patches for 22 February to 8 March 2013

2013-03-08 Thread Stefan Hajnoczi
On Fri, Mar 8, 2013 at 10:48 AM, Stefan Hajnoczi wrote: > The following changes since commit 0bc472a9d6b80567c212023c5eae413f4dfb53ad: > > hw/nand.c: correct the sense of the BUSY/READY status bit (2013-03-07 > 09:27:11 +0100) > > are available in the git repository at: > > git://github.com/s

[Qemu-devel] [PULL v2 0/8] Trivial patches for 22 February to 8 March 2013

2013-03-08 Thread Stefan Hajnoczi
I misplaced some patches by accident, this is the fixed pull request. The following changes since commit 0bc472a9d6b80567c212023c5eae413f4dfb53ad: hw/nand.c: correct the sense of the BUSY/READY status bit (2013-03-07 09:27:11 +0100) are available in the git repository at: git://github.com/

[Qemu-devel] [PATCH 1/8] configure: Create link to icon bitmap for out-of-tree builds

2013-03-08 Thread Stefan Hajnoczi
From: Jan Kiszka This allows to pick up the icon when starting QEMU directly from an out-of-tree build directory. Signed-off-by: Jan Kiszka Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 2f

[Qemu-devel] [PATCH 2/8] rtc-test: Fix test failures with recent glib

2013-03-08 Thread Stefan Hajnoczi
From: Cole Robinson As of glib 2.35.4, glib changed its logic for ordering test cases: https://bugzilla.gnome.org/show_bug.cgi?id=694487 This was causing failures in rtc-test. Group the reordered test cases into their own suite, which maintains the original ordering. CC: qemu-sta...@nongnu.org

[Qemu-devel] [PATCH 3/8] lm32: remove unused function

2013-03-08 Thread Stefan Hajnoczi
From: Paolo Bonzini The milkymist-minimac device in fact does not exist at all. Signed-off-by: Paolo Bonzini Acked-by: Michael Walle Signed-off-by: Stefan Hajnoczi --- hw/milkymist-hw.h | 16 1 file changed, 16 deletions(-) diff --git a/hw/milkymist-hw.h b/hw/milkymist-hw.h

[Qemu-devel] [PATCH 4/8] osdep: replace setsockopt by qemu_setsockopt

2013-03-08 Thread Stefan Hajnoczi
From: Lei Li Fix the compiler warning when cross build qemu-ga for windows by using qemu_setsockopt() instead of setsockopt(). util/osdep.c: In function 'socket_set_nodelay': util/osdep.c:69:5: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled

[Qemu-devel] [PATCH 5/8] configure: Require at least spice-protocol-0.12.3

2013-03-08 Thread Stefan Hajnoczi
From: Michal Privoznik As of 5a49d3e9 we assume SPICE_PORT_EVENT_BREAK to be defined. However, it is defined not in 0.12.2 what we require now, but in 0.12.3. Therefore in order to prevent build failure we must adjust our minimal requirements. Signed-off-by: Stefan Hajnoczi --- configure | 2

[Qemu-devel] [PATCH 6/8] rng-random: Use qemu_open / qemu_close

2013-03-08 Thread Stefan Hajnoczi
From: Stefan Berger In the rng backend use qemu_open and qemu_close rather than POSIX open/close. Signed-off-by: Stefan Berger Reviewed-by: Eric Blake Signed-off-by: Stefan Hajnoczi --- backends/rng-random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/rng

[Qemu-devel] [PATCH 8/8] Fix the wrong description in qemu manual

2013-03-08 Thread Stefan Hajnoczi
From: Lei Li Fix LP#1151450 the wrong description in qemu manual: 'qemu-system-x86_84' should be 'qemu-system-x86_64'. Signed-off-by: Lei Li Signed-off-by: Stefan Hajnoczi --- qemu-options.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-options.hx b/qemu-options.h

[Qemu-devel] [PATCH 7/8] pci_host: Drop write-only address_space field

2013-03-08 Thread Stefan Hajnoczi
From: Peter Maydell The address_space field of PCIHostState was only ever written, never used. Drop it completely. Signed-off-by: Peter Maydell Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- hw/pci/pci_host.h | 1 - hw/piix_pci.c | 1 - hw/ppc/prep.c | 1 - 3 files ch

[Qemu-devel] [PATCH] .gitignore: add tracing/generated-events.[ch]

2013-03-08 Thread Stefan Hajnoczi
Don't display autogenerated files in git-status(1). Signed-off-by: Stefan Hajnoczi --- A quick follow-up to Lluís Vilanova's generic event state description series. .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 27ad002..af4e3e6 100644 --- a/.giti

Re: [Qemu-devel] [PATCH 3/9] dataplane: remove EventPoll in favor of AioContext

2013-03-08 Thread Cornelia Huck
On Fri, 08 Mar 2013 10:22:36 +0100 Paolo Bonzini wrote: > Il 08/03/2013 09:37, Christian Borntraeger ha scritto: > > +if (assign) { > > +int r = event_notifier_init(notifier, 0); > > + > > +if (r < 0) { > > +return r; > > +} > > +virtio_queue_set_gu

Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 broken

2013-03-08 Thread Samuel Thibault
Samuel Thibault, le Fri 08 Mar 2013 10:08:55 +0100, a écrit : > There does exist some unique address, which is returned by recvfrom, > I'll have a look at how to get access to it. Ah, no, it's not unique... It's just the host IP address and the same port as the multicast address, so it'll be the s

Re: [Qemu-devel] [PATCH] .gitignore: add tracing/generated-events.[ch]

2013-03-08 Thread Lluís Vilanova
Stefan Hajnoczi writes: > Don't display autogenerated files in git-status(1). > Signed-off-by: Stefan Hajnoczi Reviewed-by: Lluís Vilanova > --- > A quick follow-up to Lluís Vilanova's generic event state description series. > .gitignore | 2 ++ > 1 file changed, 2 insertions(+) > diff --g

Re: [Qemu-devel] [PATCH] .gitignore: add tracing/generated-events.[ch]

2013-03-08 Thread Lluís Vilanova
BTW, a minor thing. I just noticed the subject should be ".gitignore: add trace/generated-events.[ch]" ;) Lluis Stefan Hajnoczi writes: > Don't display autogenerated files in git-status(1). > Signed-off-by: Stefan Hajnoczi > --- > A quick follow-up to Lluís Vilanova's generic event state desc

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

2013-03-08 Thread Anthony Liguori
Markus Armbruster writes: > "Michael S. Tsirkin" writes: > >> On Thu, Mar 07, 2013 at 08:57:52PM +0100, Markus Armbruster wrote: >>> "Michael S. Tsirkin" writes: >>> >>> > libvirt has a long-standing bug: when removing the device, >>> > it can request removal but does not know when the >>> > r

Re: [Qemu-devel] [PATCH 3/9] dataplane: remove EventPoll in favor of AioContext

2013-03-08 Thread Paolo Bonzini
Il 08/03/2013 13:44, Cornelia Huck ha scritto: >> > Perhaps you can simply hard-code with_irqfd to false in this call to >> > virtio_queue_set_guest_notifier_fd_handler and the one below? Then the >> > guest notifier will be emulated in userspace and processed via >> > vdev->binding->notify. > >

Re: [Qemu-devel] [Qemu-stable] [SeaBIOS] problems with freeBSD

2013-03-08 Thread Kevin O'Connor
On Fri, Mar 08, 2013 at 12:03:15AM +0800, Peter Maydell wrote: > Earlier in this thread it's been stated that this often produces > subtly broken blobs... I think there have been some far reaching conclusions in this thread based on incorrect premises. SeaBIOS has had problems with mis-compilatio

[Qemu-devel] [PATCH v2 1/2] input: make QEMUPutLEDEntry + QEMUPutMouseEntry private

2013-03-08 Thread Gerd Hoffmann
There is no need for anybody outside ui/input.c to access the struct elements. Move the definitions, leaving only the typedefs in the header files. Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 19 ++- ui/input.c | 18 ++ 2 files changed,

[Qemu-devel] [PATCH v2 2/2] input: introduce keyboard handler list

2013-03-08 Thread Gerd Hoffmann
Add a linked list of keyboard handlers. Added handlers will go to the head of the list. Removed handlers will be zapped from the list. The head of the list will be used for events. This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events will be re-routed to the ps/2 kbd instead of b

[Qemu-devel] [PATCH v2 0/2] input: add keyboard handler list

2013-03-08 Thread Gerd Hoffmann
Hi, Little input patch series, first patch being a small cleanup, second patch adds a linked list of keyboard handlers, so removing a handler (on usb kbd unplug) will not make keyboard stop working but fallback to another keyboard (if present). cheers, Gerd Gerd Hoffmann (2): input: make Q

[Qemu-devel] Mentors and project ideas wanted for GSoC 2013

2013-03-08 Thread Stefan Hajnoczi
QEMU will apply to Google Summer of Code 2013 on Monday 18th March. We need the have project ideas ready as part of QEMU's application as a GSoC 2013 organization. The wiki is still sparse so I'm asking that everyone posts their project ideas: http://wiki.qemu.org/Google_Summer_of_Code_2013 Quic

Re: [Qemu-devel] [PATCH] .gitignore: add tracing/generated-events.[ch]

2013-03-08 Thread Stefan Hajnoczi
On Fri, Mar 8, 2013 at 2:11 PM, Lluís Vilanova wrote: > BTW, a minor thing. I just noticed the subject should be > ".gitignore: add trace/generated-events.[ch]" ;) Thanks. I also forgot to add trace/generated-events.dtrace. Stefan

[Qemu-devel] [PATCH] trace: rebuild generated-events.o when configuration changes

2013-03-08 Thread Stefan Hajnoczi
Make sure to rebuild generated-events.o when ./configure options change. This prevents linker errors when a stale generated-events.o gets linked with code compiled against fresh headers. For example, try building with ./configure --enable-trace-backend=stderr followed by ./configure --enable-trace

Re: [Qemu-devel] [PATCH] .gitignore: add tracing/generated-events.[ch]

2013-03-08 Thread Stefan Hajnoczi
On Fri, Mar 8, 2013 at 3:49 PM, Stefan Hajnoczi wrote: > On Fri, Mar 8, 2013 at 2:11 PM, Lluís Vilanova wrote: >> BTW, a minor thing. I just noticed the subject should be >> ".gitignore: add trace/generated-events.[ch]" ;) > > Thanks. I also forgot to add trace/generated-events.dtrace. I meant

Re: [Qemu-devel] [SeaBIOS] [Qemu-stable] problems with freeBSD

2013-03-08 Thread Peter Stuge
Kevin O'Connor wrote: > I don't believe that dictating one "true compiler" or one "true > blob" is necessary or desirable. Sure. The point isn't to have only one correct way, but to have reliable results in the common case. A reference toolchain and a reference blob both help accomplish that, but

[Qemu-devel] [PATCH v2 1/2] .gitignore: add trace/generated-events.[ch]

2013-03-08 Thread Stefan Hajnoczi
Don't display autogenerated files in git-status(1). Signed-off-by: Stefan Hajnoczi --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 27ad002..af4e3e6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ trace/generated-tracers.h trace/generat

[Qemu-devel] [PATCH v2 2/2] .gitignore: rename trace/generated-tracers.dtrace

2013-03-08 Thread Stefan Hajnoczi
For a while the file was called trace/generated-tracers-dtrace.dtrace but today it's called trace/generated-tracers.dtrace. Signed-off-by: Stefan Hajnoczi --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index af4e3e6..87ef1f5 100644 ---

[Qemu-devel] [PATCH v2 0/2] .gitignore: tracing updates

2013-03-08 Thread Stefan Hajnoczi
The .gitignore file no longer covers all autogenerated tracing file. These patches update .gitignore. Stefan Hajnoczi (2): .gitignore: add trace/generated-events.[ch] .gitignore: rename trace/generated-tracers.dtrace .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1

[Qemu-devel] [Bug 1151986] Re: buffer overflow after block-stream via QMP

2013-03-08 Thread Serge Hallyn
1.4.0 is the intended stable release for Ubuntu raring. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1151986 Title: buffer overflow after block-stream via QMP Status in QEMU: New Bug descripti

Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands

2013-03-08 Thread Stefan Hajnoczi
On Fri, Mar 8, 2013 at 12:01 PM, Dietmar Maurer wrote: >> > Anyways, and additional RPC layer always adds overhead, and It can be >> completely avoided. >> > Maybe not much, but I want to make backup as efficient as possible. >> >> The drawbacks outweight the performance advantage: > > not for me.

Re: [Qemu-devel] [PATCH 16/17] chardev: add udp support to qapi

2013-03-08 Thread Eric Blake
On 02/28/2013 12:50 AM, Gerd Hoffmann wrote: > This patch adds 'udb' support to qapi. If it's not too late: s/udb/udp/ > > Signed-off-by: Gerd Hoffmann > --- -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: O

[Qemu-devel] [PATCH 2/2] qga: add windows implementation for guest-set-time

2013-03-08 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 0a2bb34..b5d4bd3 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -140,6 +140

[Qemu-devel] [PATCH 0/2 v2] Add Windows support for time resync by qemu-ga

2013-03-08 Thread Lei Li
This patch series attempts to add Windows implementation for qemu-ga commands guest-get-time and guest-set-time. The previous thread about the interfaces introduced and the POSIX-specific command implementation has already been accepted, the reference link: http://article.gmane.org/gmane.comp.em

[Qemu-devel] [PATCH 1/2] qga: add windows implementation for guest-get-time

2013-03-08 Thread Lei Li
Signed-off-by: Lei Li --- qga/commands-win32.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 7e8ecb3..0a2bb34 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -22,6 +22,12 @

Re: [Qemu-devel] [PATCH] RTC: enable lost_tick_policy=slew as default (v2)

2013-03-08 Thread Marcelo Tosatti
On Thu, Mar 07, 2013 at 09:25:17AM +0100, Paolo Bonzini wrote: > Il 12/12/2012 22:36, Marcelo Tosatti ha scritto: > > > > RTC interrupt reinjection has no known negative effect. Lack of > > RTC interrupt reinjection, though, has negative effects: time drift > > for Windows guests which use it as a

Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands

2013-03-08 Thread Dietmar Maurer
> >> 1. QEMU can neither backup nor restore without help from the management > >>tool. > > > > Backup works perfectly with the current patches. You can easily > > trigger a backup using a HMP command. This is not really important, but > > works. > > If you send me a VMA file I can't restore i

Re: [Qemu-devel] [PATCH] RTC: enable lost_tick_policy=slew as default (v2)

2013-03-08 Thread Anthony Liguori
Marcelo Tosatti writes: > On Thu, Mar 07, 2013 at 09:25:17AM +0100, Paolo Bonzini wrote: >> Il 12/12/2012 22:36, Marcelo Tosatti ha scritto: >> > >> > RTC interrupt reinjection has no known negative effect. Lack of >> > RTC interrupt reinjection, though, has negative effects: time drift >> > for

[Qemu-devel] [PATCH] MinGW: Replace setsockopt by qemu_setsocketopt

2013-03-08 Thread Stefan Weil
Instead of adding missing type casts which are needed by MinGW for the 4th argument, the patch uses qemu_setsockopt which was invented for this purpose. Signed-off-by: Stefan Weil --- I did not fix some coding style issues in modified slirp code (tabs, line length). Nor did I replace setsockopt

[Qemu-devel] [PATCH 05/66] target-ppc: Drop nested TARGET_PPC64 guard for POWER7

2013-03-08 Thread Alexander Graf
From: Andreas Färber It is within a large TARGET_PPC64 section from 970 to 620, so an #endif /* TARGET_PPC64 */ is confusing. Clean this up. Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH 03/66] target-ppc: Fix "G2leGP3" PVR

2013-03-08 Thread Alexander Graf
From: Andreas Färber Unlike derived PVR constants mapped to CPU_POWERPC_G2LEgp3, the "G2leGP3" model definition itself used the CPU_POWERPC_G2LEgp1 PVR. Fixing this will allow to alias CPU_POWERPC_G2LEgp3-using types to "G2leGP3". Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --

[Qemu-devel] [PATCH 08/66] target-ppc: Make -cpu "ppc" an alias to "ppc32"

2013-03-08 Thread Alexander Graf
From: Andreas Färber Drop the #if 0'ed alternative to make it "ppc64" for TARGET_PPC64. If we ever want to change it, we can more easily do so now. Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 29 + 1 files changed

[Qemu-devel] [PATCH 11/66] target-ppc: Extract 40x aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 25 +++-- 1 files changed, 7 insertions(+), 18 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 6a86e10..8a3cf9f 10

[Qemu-devel] [PATCH 16/66] target-ppc: Extract 74x1 aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index b7c9781..bd3076c 100644 --- a/target-p

[Qemu-devel] [PATCH 02/66] target-ppc: Fix CPU_POWERPC_MPC8547E

2013-03-08 Thread Alexander Graf
From: Andreas Färber It was defined to ..._MPC8545E_v21 rather than ..._MPC8547E_v21. Due to both resolving to CPU_POWERPC_e500v2_v21 this did not show. Fixing this nontheless helps with QOM'ifying CPU aliases. Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/transl

[Qemu-devel] [PATCH 04/66] target-ppc: Update error handling in ppc_cpu_realize()

2013-03-08 Thread Alexander Graf
From: Andreas Färber Commit fe828a4d4b7a5617cda7b24e95e327bfb71d790e added a new fatal error message while QOM realize'ification was in flight. Convert it to return an Error instead of exit()ing. Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |

[Qemu-devel] [PATCH 26/66] target-ppc: Extract 601/601v aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 69455c4..03284c7 100644 --- a/target-

[Qemu-devel] [PATCH 17/66] target-ppc: Extract 7450 alias

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index bd3076c..7bc401b 100644 --- a/target-ppc/

[Qemu-devel] [PATCH 10/66] target-ppc: Extract MGT823/MPC8xx as aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber They used different PVRs but were defined to MPC8xx. Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 93 --- 1 files changed, 17 insertions(+), 76 deletions(-) diff --git a/target-ppc

[Qemu-devel] [PATCH 12/66] target-ppc: Extract 440 aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 23 +-- 1 files changed, 5 insertions(+), 18 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 8a3cf9f..fb0a366 1006

[Qemu-devel] [PATCH 23/66] target-ppc: Extract 740/750 aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 86db9a5..e6be35c 100644 --- a/target-p

[Qemu-devel] [PULL 00/66] ppc patch queue 2013-03-08

2013-03-08 Thread Alexander Graf
Hi Blue / Aurelien, This is my current patch queue for ppc. Please pull. Alex The following changes since commit 0bc472a9d6b80567c212023c5eae413f4dfb53ad: Kuo-Jung Su (1): hw/nand.c: correct the sense of the BUSY/READY status bit are available in the git repository at: git://gith

[Qemu-devel] [PATCH 07/66] target-ppc: Extract aliases from definitions list

2013-03-08 Thread Alexander Graf
From: Andreas Färber Move definitions that were 100% identical except for the name into a list of aliases so that we don't register duplicate CPU types. Drop the accompanying comments since they don't really add value. We need to support recursive lookup due to code names referencing a generic n

[Qemu-devel] [PATCH 20/66] target-ppc: Extract 7400 alias

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 3fd8fd7..a97dfb7 100644 --- a/target-ppc/

[Qemu-devel] [PATCH 39/66] target-ppc: Extract MPC8240 alias

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 2e41f0b..4e5278d 100644 --- a/target-

[Qemu-devel] [PATCH 13/66] target-ppc: Turn "ppc32" and "ppc64" CPUs into aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 36 +--- 1 files changed, 5 insertions(+), 31 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index fb0a366.

[Qemu-devel] [PATCH 09/66] target-ppc: Extract MPC5xx aliases

2013-03-08 Thread Alexander Graf
From: Andreas Färber Their PVR differed but was defined to MPC5xx. Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 81 --- 1 files changed, 15 insertions(+), 66 deletions(-) diff --git a/target-ppc/transl

[Qemu-devel] [PATCH 32/66] target-ppc: Extract e200 alias

2013-03-08 Thread Alexander Graf
From: Andreas Färber Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- target-ppc/translate_init.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index d2cee80..a4eae26 100644 --- a/target-ppc/

  1   2   >