Re: [Qemu-devel] [PATCH 09/18] linux-user: Define AT_RANDOM to support target stack protection mechanism.

2011-06-21 Thread cedric.vincent
On Mon, Jun 20, 2011 at 06:20:14PM +0200, riku.voi...@iki.fi wrote: > > 8<8<8<8<8<8<8<8<8<8<8<8< Looks like this mail was not extracted with "--scissors", the text above this line is not part of the commit message. Regards, Cédric.

Re: [Qemu-devel] [PATCH 07/18] linux-user: Fix the computation of the requested heap size

2011-06-21 Thread cedric.vincent
On Mon, Jun 20, 2011 at 06:20:12PM +0200, riku.voi...@iki.fi wrote: > linux-user/syscall.c | 11 ++- > 1 files changed, 6 insertions(+), 5 deletions(-) This is not the latest version of the patch (that one introduced some regressions): http://patchwork.ozlabs.org/patch/100492/

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 08:26, Jan Kiszka wrote: > From: Jan Kiszka > > Introduce CONFIG_XEN_BACKEND so that this new config solely controls the > target-independent backend build and CONFIG_XEN can focus on per-target > building. What's the incentive here? I very much doubt we'll ever want to suppo

Re: [Qemu-devel] [PATCH 2/4] xen: Uninline xen_unmap_block

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 08:26, Jan Kiszka wrote: > From: Jan Kiszka > > No reason to inline this helper. Also, cleaning up the header unbreaks > non-UNIX building where sys/mman.h is not available. Looks good to me. Stefano, please ack. Alex

Re: [Qemu-devel] [PATCH 3/4] xen: Clean up map cache API naming

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 08:26, Jan Kiszka wrote: > From: Jan Kiszka > > The map cache is a Xen thing, so its API should make this clear. Also looks good. Stefano, please ack. Alex

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Jan Kiszka
On 2011-06-21 09:21, Alexander Graf wrote: > > On 21.06.2011, at 08:26, Jan Kiszka wrote: > >> From: Jan Kiszka >> >> Introduce CONFIG_XEN_BACKEND so that this new config solely controls the >> target-independent backend build and CONFIG_XEN can focus on per-target >> building. > > What's the i

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Jan Kiszka
On 2011-06-21 09:26, Alexander Graf wrote: > > On 21.06.2011, at 09:23, Jan Kiszka wrote: > >> On 2011-06-21 09:21, Alexander Graf wrote: >>> >>> On 21.06.2011, at 08:26, Jan Kiszka wrote: >>> From: Jan Kiszka Introduce CONFIG_XEN_BACKEND so that this new config solely controls th

Re: [Qemu-devel] [PATCH 02/18] linux-user: Fix the load of ELF files that have no "useful" symbol

2011-06-21 Thread cedric.vincent
On Mon, Jun 20, 2011 at 06:20:07PM +0200, riku.voi...@iki.fi wrote: > > Signed-off-by: Cédric VINCENT > Signed-off-by: Yves JANIN > Signed-off-by: Riku Voipio The tag "Reviewed-by: Richard Henderson " is missing: http://lists.gnu.org/archive/html/qemu-devel/2011-06/msg00075.html

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 09:23, Jan Kiszka wrote: > On 2011-06-21 09:21, Alexander Graf wrote: >> >> On 21.06.2011, at 08:26, Jan Kiszka wrote: >> >>> From: Jan Kiszka >>> >>> Introduce CONFIG_XEN_BACKEND so that this new config solely controls the >>> target-independent backend build and CONFIG_XEN

Re: [Qemu-devel] [PATCH 4/4] xen: Fold CONFIG_XEN_MAPCACHE into CONFIG_XEN

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 08:26, Jan Kiszka wrote: > From: Jan Kiszka > > Xen won't be enabled if there is no backend support available for the > host. And that also means the map cache will work. So drop the separate > config switch and move the required stubs over to xen-stub.c. Anthony, Stefano, wh

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 09:27, Jan Kiszka wrote: > On 2011-06-21 09:26, Alexander Graf wrote: >> >> On 21.06.2011, at 09:23, Jan Kiszka wrote: >> >>> On 2011-06-21 09:21, Alexander Graf wrote: On 21.06.2011, at 08:26, Jan Kiszka wrote: > From: Jan Kiszka > > Introduce C

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Jan Kiszka
On 2011-06-21 09:46, Alexander Graf wrote: > > On 21.06.2011, at 09:27, Jan Kiszka wrote: > >> On 2011-06-21 09:26, Alexander Graf wrote: >>> >>> On 21.06.2011, at 09:23, Jan Kiszka wrote: >>> On 2011-06-21 09:21, Alexander Graf wrote: > > On 21.06.2011, at 08:26, Jan Kiszka wrote: >

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall

2011-06-21 Thread Avi Kivity
On 06/21/2011 09:02 AM, Gleb Natapov wrote: On Mon, Jun 20, 2011 at 07:34:57PM +0300, Avi Kivity wrote: > >The only two things which came to my mind are: > > > > * NMI (aka. ipmitool diag) - already available in qemu/kvm - but requires > > in-guest kexec/kdump > > * Hardware-Watchdog

Re: [Qemu-devel] [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 09:57, Jan Kiszka wrote: > On 2011-06-21 09:46, Alexander Graf wrote: >> >> On 21.06.2011, at 09:27, Jan Kiszka wrote: >> >>> On 2011-06-21 09:26, Alexander Graf wrote: On 21.06.2011, at 09:23, Jan Kiszka wrote: > On 2011-06-21 09:21, Alexander Graf wrote:

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

2011-06-21 Thread Avi Kivity
On 06/20/2011 10:11 PM, Anthony Liguori wrote: It would need careful explanation in the management tool author's guide, yes. The main advantage is generality. It doesn't assume that a file format has just one backing file, and doesn't require new syntax wherever a file is referred to indirectly.

Re: [Qemu-devel] [PATCH RFC 0/3] basic support for composing sysbus devices

2011-06-21 Thread Avi Kivity
On 06/21/2011 12:32 AM, Blue Swirl wrote: On Mon, Jun 20, 2011 at 6:23 PM, Paul Brook wrote: >> > Yeah, that's why I said, "hard to do well". It makes it very hard to add >> > new socket types. >> >> PCI, USB, IDE, SCSI, SBus, what else? APICBus? I2C? 8 socket types >> ought to be enough

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall

2011-06-21 Thread Gleb Natapov
On Tue, Jun 21, 2011 at 11:09:21AM +0300, Avi Kivity wrote: > On 06/21/2011 09:02 AM, Gleb Natapov wrote: > >On Mon, Jun 20, 2011 at 07:34:57PM +0300, Avi Kivity wrote: > >> >The only two things which came to my mind are: > >> > > >> > * NMI (aka. ipmitool diag) - already available in qemu/kvm

Re: [Qemu-devel] unix domain socket communication with guests

2011-06-21 Thread Amit Shah
On (Mon) 20 Jun 2011 [18:24:38], Joel Uckelman wrote: > I'm trying to set up a unix domain socket with a guest on one end and > the host on the other, where the server is running on and bound to the > socket on the guest. I've been able to get the reverse, where the > server is running on the host,

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall

2011-06-21 Thread Avi Kivity
On 06/21/2011 11:41 AM, Gleb Natapov wrote: On Tue, Jun 21, 2011 at 11:09:21AM +0300, Avi Kivity wrote: > On 06/21/2011 09:02 AM, Gleb Natapov wrote: > >On Mon, Jun 20, 2011 at 07:34:57PM +0300, Avi Kivity wrote: > >> >The only two things which came to my mind are: > >> > > >> >* N

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall

2011-06-21 Thread Gleb Natapov
On Tue, Jun 21, 2011 at 11:56:26AM +0300, Avi Kivity wrote: > On 06/21/2011 11:41 AM, Gleb Natapov wrote: > >On Tue, Jun 21, 2011 at 11:09:21AM +0300, Avi Kivity wrote: > >> On 06/21/2011 09:02 AM, Gleb Natapov wrote: > >> >On Mon, Jun 20, 2011 at 07:34:57PM +0300, Avi Kivity wrote: > >> >> >T

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall

2011-06-21 Thread Avi Kivity
On 06/21/2011 12:03 PM, Gleb Natapov wrote:> >> > >Something like steal time, but for watchdog. But this become complicated fast. > >Watchdog emulation will have to move into kernel for starter. > > Why? You can use a performance counter from userspace. > Heh, haven't thought about such way

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall

2011-06-21 Thread shawn che
HI, I am using kvm-kmod with version 2.6.36, but I encountered a fatal problem. In linux run on KVM,I using request(irq,*,*,*) function to request a interrupt line. However, When I using a irq bigger than 15, it will return error. Now I have simulated a PCI device and decide to using IOAPIC to sen

Re: [Qemu-devel] [PATCH v4 1/2] pxa2xx_lcd: add proper rotation support

2011-06-21 Thread Vasily Khoruzhick
On Friday 17 June 2011 13:04:36 Vasily Khoruzhick wrote: > Until now, pxa2xx_lcd only supported 90deg rotation, but > some machines (for example Zipit Z2) needs 270deg rotation. Ping > Signed-off-by: Vasily Khoruzhick > --- > v2: codestyle fixes > v3: fix dpy_update calls for 180 and 360 deg. ro

Re: [Qemu-devel] [PATCH v4 2/2] Add support for Zipit Z2 machine

2011-06-21 Thread Vasily Khoruzhick
On Friday 17 June 2011 13:04:37 Vasily Khoruzhick wrote: > Zipit Z2 is small PXA270 based handheld. Ping > Signed-off-by: Vasily Khoruzhick > --- > v2: codestyle fixes, added VMStateDescription for LCD device and AER915, > traces clean up. > v3: no changes > v4: no changes > Makefile.target

Re: [Qemu-devel] struct TimerState

2011-06-21 Thread Nilay Vaish
On Mon, 20 Jun 2011, Llu??s wrote: Nilay writes: I am trying to understand the structures that QEMU saves when do_savevm() is invoked. Can anyone explain to me the fields that are part of the TimerState structure in qemu-timer.c? If my meory does not fail me, its main task is to capture wha

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Avi Kivity
On 06/20/2011 10:42 AM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. https://bugzilla.redhat.com/show_bug.cgi?id=689672 - Guests do not start after upgrading qemu to 0.13 Seems like our backward compatibility plan isn't working. How do we address i

[Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-21 Thread Pavel Dovgaluk
This patch fixes save/restore of serial interface's state. It includes changing of fcr setter function (it now does not invoke an interrupt while loading vmstate), and saving/restoring all fields that describe the state of serial interface (including timers). Signed-off-by: Pavel Dovgalyuk --

Re: [Qemu-devel] struct TimerState

2011-06-21 Thread Lluís
Nilay Vaish writes: > Let me ask a more pointed question. Is there a way to know how many > cycles the virtual machine has been running for? A comment that > appears before the defintion of the TimerState structure -- guest > cycle counter. AFAIR, the TimerState captures the amount of host nsec/c

[Qemu-devel] [PATCH] target-arm: support for ARM1176JZ-s cores

2011-06-21 Thread Jamie Iles
Add support for the ARM1176JZ-s cores. The ARM1176JZ-s is a v6K core but uses the v7 VMSA for remapping and access permissions and there is no way to identify these VMSA extensions from the cpuid feature registers. Cc: Paul Brook Cc: Aurelien Jarno Signed-off-by: Jamie Iles --- target-arm/cpu

[Qemu-devel] [Xen-devel] Re: [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Ian Jackson
Alexander Graf writes ("[Xen-devel] Re: [PATCH 1/4] xen: Clean up build system"): > On 21.06.2011, at 08:26, Jan Kiszka wrote: > > From: Jan Kiszka > > > > Introduce CONFIG_XEN_BACKEND so that this new config solely controls the > > target-independent backend build and CONFIG_XEN can focus on pe

Re: [Qemu-devel] [Xen-devel] Re: [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Jan Kiszka
On 2011-06-21 15:01, Ian Jackson wrote: > Alexander Graf writes ("[Xen-devel] Re: [PATCH 1/4] xen: Clean up build > system"): >> On 21.06.2011, at 08:26, Jan Kiszka wrote: >>> From: Jan Kiszka >>> >>> Introduce CONFIG_XEN_BACKEND so that this new config solely controls the >>> target-independent

Re: [Qemu-devel] [Xen-devel] Re: [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 15:01, Ian Jackson wrote: > Alexander Graf writes ("[Xen-devel] Re: [PATCH 1/4] xen: Clean up build > system"): >> On 21.06.2011, at 08:26, Jan Kiszka wrote: >>> From: Jan Kiszka >>> >>> Introduce CONFIG_XEN_BACKEND so that this new config solely controls the >>> target-indep

Re: [Qemu-devel] [PULL 0/2] Trivial patches for June 9 to June 15 2011

2011-06-21 Thread Stefan Hajnoczi
On Wed, Jun 15, 2011 at 5:47 PM, Stefan Hajnoczi wrote: > The following changes since commit 71f34ad05359d7fa97996562d904979281ddc7f5: > >  Merge remote-tracking branch 'alon/pull-libcacard-1' into staging > (2011-06-15 09:03:49 -0500) > > are available in the git repository at: > >  ssh://repo.o

Re: [Qemu-devel] [PATCH v5 0/5] Coroutines for better asynchronous programming

2011-06-21 Thread Stefan Hajnoczi
On Sun, Jun 12, 2011 at 9:46 PM, Stefan Hajnoczi wrote: > QEMU is event-driven and suffers when blocking operations are performed > because > VM execution may be stopped until the operation completes.  Therefore many > operations that could block are performed asynchronously and a callback is > i

Re: [Qemu-devel] [PATCH v5 2/5] guest agent: qemu-ga daemon

2011-06-21 Thread Luiz Capitulino
On Mon, 20 Jun 2011 18:40:38 -0500 Michael Roth wrote: > On 06/20/2011 09:16 AM, Luiz Capitulino wrote: > > On Sun, 19 Jun 2011 14:00:30 -0500 > > Michael Roth wrote: > > > >> On 06/17/2011 10:25 PM, Luiz Capitulino wrote: > >>> On Fri, 17 Jun 2011 16:25:32 -0500 > >>> Michael Roth wrote: > >>

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-21 Thread Juan Quintela
"Pavel Dovgaluk" wrote: > This patch fixes save/restore of serial interface's state. > It includes changing of fcr setter function (it now does not invoke > an interrupt while loading vmstate), and saving/restoring all > fields that describe the state of serial interface (including timers). >

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Anthony Liguori
On 06/21/2011 06:28 AM, Avi Kivity wrote: On 06/20/2011 10:42 AM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. https://bugzilla.redhat.com/show_bug.cgi?id=689672 - Guests do not start after upgrading qemu to 0.13 Seems like our backward compatibility

Re: [Qemu-devel] [PATCH 0/4] Xen cleanups

2011-06-21 Thread Stefano Stabellini
On Tue, 21 Jun 2011, Jan Kiszka wrote: > I came across some Xen oddities I couldn't help to clean up. These > patches > - simplify the build > - remove a win32 breakage from xen-mapcache.h > - move the map cache functions out of the generic name space > thanks for the patches, cleanups are alw

Re: [Qemu-devel] [Xen-devel] Re: [PATCH 1/4] xen: Clean up build system

2011-06-21 Thread Stefano Stabellini
On Tue, 21 Jun 2011, Alexander Graf wrote: > On 21.06.2011, at 15:01, Ian Jackson wrote: > > > Alexander Graf writes ("[Xen-devel] Re: [PATCH 1/4] xen: Clean up build > > system"): > >> On 21.06.2011, at 08:26, Jan Kiszka wrote: > >>> From: Jan Kiszka > >>> > >>> Introduce CONFIG_XEN_BACKEND so

Re: [Qemu-devel] [PATCH 4/4] xen: Fold CONFIG_XEN_MAPCACHE into CONFIG_XEN

2011-06-21 Thread Stefano Stabellini
On Tue, 21 Jun 2011, Alexander Graf wrote: > On 21.06.2011, at 08:26, Jan Kiszka wrote: > > > From: Jan Kiszka > > > > Xen won't be enabled if there is no backend support available for the > > host. And that also means the map cache will work. So drop the separate > > config switch and move the

Re: [Qemu-devel] [PATCH 2/4] xen: Uninline xen_unmap_block

2011-06-21 Thread Stefano Stabellini
On Tue, 21 Jun 2011, Alexander Graf wrote: > On 21.06.2011, at 08:26, Jan Kiszka wrote: > > > From: Jan Kiszka > > > > No reason to inline this helper. Also, cleaning up the header unbreaks > > non-UNIX building where sys/mman.h is not available. > > Looks good to me. Stefano, please ack. Ac

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Avi Kivity
On 06/21/2011 04:50 PM, Anthony Liguori wrote: On 06/21/2011 06:28 AM, Avi Kivity wrote: On 06/20/2011 10:42 AM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. https://bugzilla.redhat.com/show_bug.cgi?id=689672 - Guests do not start after upgrading qemu

Re: [Qemu-devel] [PATCH 3/4] xen: Clean up map cache API naming

2011-06-21 Thread Stefano Stabellini
On Tue, 21 Jun 2011, Alexander Graf wrote: > On 21.06.2011, at 08:26, Jan Kiszka wrote: > > > From: Jan Kiszka > > > > The map cache is a Xen thing, so its API should make this clear. > > Also looks good. Stefano, please ack. Acked-by: Stefano Stabellini

Re: [Qemu-devel] [PATCH 0/4] Xen cleanups

2011-06-21 Thread Alexander Graf
On 21.06.2011, at 08:26, Jan Kiszka wrote: > I came across some Xen oddities I couldn't help to clean up. These > patches > - simplify the build > - remove a win32 breakage from xen-mapcache.h > - move the map cache functions out of the generic name space Patches 2-4 don't apply. Please rebase a

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Anthony Liguori
On 06/20/2011 02:42 AM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. State of image streaming/block copy. Regards, Anthony Liguori thanks, -juan

[Qemu-devel] cirrus logic pathological case slow screen update

2011-06-21 Thread Stefan Hajnoczi
Hi, I've just seen a system running Windows 2008 64-bit under KVM doing a Windows Update. It was applying 1000s of updates in a text mode that triggers a pathological case with the cirrus logic emulation (I connected over VNC). The symptom is that the message being displayed "Applying update 1 ou

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Markus Armbruster
Avi Kivity writes: > On 06/21/2011 04:50 PM, Anthony Liguori wrote: >> On 06/21/2011 06:28 AM, Avi Kivity wrote: >>> On 06/20/2011 10:42 AM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. >>> >>> >>> https://bugzilla.redhat.com/show_bug.cgi?id=68967

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Frédéric Grelot
> > f13 is ancient, no? > > Yes, a year old. > Furthermore, the following mail was sent to the Fedora announce mailing list just one week ago : This is a reminder email about the end of life process for Fedora 13. Fedora 13 will reach end of life on 2011-06-24, and no further updates will

[Qemu-devel] KVM call minutes for June 21

2011-06-21 Thread Chris Wright
concerns about backwards compat - https://bugzilla.redhat.com/show_bug.cgi?id=689672 - f13 host can no longer run f14 guest after qemu update - this particular bug is older f13 which includes patched qemu... - could be useful to fingerprint the guest (lspci, etc) - sounds simple enough, need so

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Avi Kivity
On 06/21/2011 05:27 PM, Markus Armbruster wrote: > > We can have a script that runs lspci -vvv, x86info, > and other interesting stuff and compare the results, and also system > tests that boot a guest on multiple qemus (with the same -M and > different -M) and see if things w

Re: [Qemu-devel] [PATCH] qemu-char: Print strerror message on failure

2011-06-21 Thread Kevin Wolf
Am 01.06.2011 13:29, schrieb Kevin Wolf: > The only way for chardev drivers to communicate an error was to return a NULL > pointer, which resulted in an error message that said _that_ something went > wrong, but not _why_. > > This patch changes the interface to return 0/-errno and updates > qemu_

Re: [Qemu-devel] [PATCH] target-arm: support for ARM1176JZ-s cores

2011-06-21 Thread Peter Maydell
On 21 June 2011 13:55, Jamie Iles wrote: > +    case ARM_CPUID_ARM1176: > +        set_feature(env, ARM_FEATURE_V4T); > +        set_feature(env, ARM_FEATURE_V5); > +        set_feature(env, ARM_FEATURE_V6); > +        set_feature(env, ARM_FEATURE_V6K); > +        set_feature(env, ARM_FEATURE_AUXC

Re: [Qemu-devel] [PATCH] qemu-char: Print strerror message on failure

2011-06-21 Thread Kevin Wolf
Am 21.06.2011 18:09, schrieb Markus Armbruster: > Kevin Wolf writes: > >> The only way for chardev drivers to communicate an error was to return a NULL >> pointer, which resulted in an error message that said _that_ something went >> wrong, but not _why_. >> >> This patch changes the interface to

Re: [Qemu-devel] [PATCH v2] virtio-serial: Fix segfault on guest boot

2011-06-21 Thread Markus Armbruster
Luiz Capitulino writes: > If I start qemu with: > > # qemu -hda disks/test.img -enable-kvm -m 1G -snapshot \ > -device virtio-serial \ > -chardev socket,host=localhost,port=1234,server,nowait,id=foo \ > -device virtserialport,chardev=foo,name=org.qemu.guest_agent > >

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Anthony Liguori
On 06/21/2011 08:56 AM, Avi Kivity wrote: On 06/21/2011 04:50 PM, Anthony Liguori wrote: We can have a script that runs lspci -vvv, x86info, and other interesting stuff and compare the results, and also system tests that boot a guest on multiple qemus (with the same -M and differe

Re: [Qemu-devel] [PATCH] qemu-char: Print strerror message on failure

2011-06-21 Thread Markus Armbruster
Kevin Wolf writes: > The only way for chardev drivers to communicate an error was to return a NULL > pointer, which resulted in an error message that said _that_ something went > wrong, but not _why_. > > This patch changes the interface to return 0/-errno and updates > qemu_chr_open_opts to use

Re: [Qemu-devel] [PATCH] target-arm: support for ARM1176JZ-s cores

2011-06-21 Thread Jamie Iles
Hi Peter, On Tue, Jun 21, 2011 at 04:43:44PM +0100, Peter Maydell wrote: > On 21 June 2011 13:55, Jamie Iles wrote: > > +    case ARM_CPUID_ARM1176: > > +        set_feature(env, ARM_FEATURE_V4T); > > +        set_feature(env, ARM_FEATURE_V5); > > +        set_feature(env, ARM_FEATURE_V6); > > +

Re: [Qemu-devel] struct TimerState

2011-06-21 Thread Nilay Vaish
On Tue, 21 Jun 2011, Llu??s wrote: Nilay Vaish writes: Let me ask a more pointed question. Is there a way to know how many cycles the virtual machine has been running for? A comment that appears before the defintion of the TimerState structure -- guest cycle counter. AFAIR, the TimerState ca

[Qemu-devel] [PATCH 12/15] kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka kvm_arch_get_supported_cpuid checks for global cpuid restrictions, it does not require any CPUState reference. Changing its interface allows to call it before any VCPU is initialized. CC: Eduardo Habkost Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- kvm.h

[Qemu-devel] [PATCH 07/15] kvm: Drop useless zero-initializations

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka Backing KVMState is alreay zero-initialized. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- kvm-all.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 106eb3a..4a9910a 100644 --- a/kvm-all.c +++ b/kvm-all.c

[Qemu-devel] [PATCH 14/15] KVM: Fix XSAVE feature bit enumeration

2011-06-21 Thread Marcelo Tosatti
From: Andre Przywara When iterating through the XSAVE feature enumeration CPUID leaf (0xD) we should not stop at the first zero EAX, but instead keep scanning since there are gaps in the enumeration (ECX=1 for instance). This fixes the proper usage of AVX in KVM guests. Signed-off-by: Andre Przy

[Qemu-devel] [PATCH 06/15] kvm: ppc: Drop CONFIG_KVM_PPC_PVR

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka Required header support is now unconditionally available. CC: Alexander Graf Signed-off-by: Jan Kiszka Reviewed-by: Alexander Graf Signed-off-by: Marcelo Tosatti --- configure|1 - target-ppc/kvm.c |9 - 2 files changed, 0 insertions(+), 10 deletions

[Qemu-devel] [PATCH 09/15] kvm: x86: Drop KVM_CAP build dependencies

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka No longer needed with accompanied kernel headers. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- target-i386/kvm.c | 67 ++-- 1 files changed, 3 insertions(+), 64 deletions(-) diff --git a/target-i386/kvm.c b/ta

[Qemu-devel] [PATCH 10/15] kvm: ppc: Drop KVM_CAP build dependencies

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka No longer needed with accompanied kernel headers. CC: Alexander Graf Signed-off-by: Jan Kiszka Reviewed-by: Alexander Graf Signed-off-by: Marcelo Tosatti --- target-ppc/kvm.c | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/target-ppc/k

[Qemu-devel] [PATCH 04/15] Switch build system to accompanied kernel headers

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka This helps reducing our build-time checks for feature support in the available Linux kernel headers. And it helps users that do not have sufficiently recent headers installed on their build machine. Consequently, the patch removes and build-time checks for kvm and vhost in confi

[Qemu-devel] [PATCH 05/15] kvm: Drop CONFIG_KVM_PARA

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka The kvm_para.h header is now always available. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- configure |1 - hw/kvmclock.c |9 - target-i386/kvm.c | 26 +- 3 files changed, 1 insertions(+), 35 deletions(-)

[Qemu-devel] [PATCH 00/15] [PULL] qemu-kvm.git uq/master queue

2011-06-21 Thread Marcelo Tosatti
The following changes since commit eb47d7c5d96060040931c42773ee07e61e547af9: hw/9118.c: Implement active-low interrupt support (2011-06-15 13:23:37 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master Andre Przywara (1): KVM: Fix X

[Qemu-devel] [PATCH 01/15] kvm: x86: Save/restore FPU OP, IP and DP

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka These FPU states are properly maintained by KVM but not yet by TCG. So far we unconditionally set them to 0 in the guest which may cause state corruptions, though not with modern guests. To avoid breaking backward migration, use a conditional subsection that is only written if a

[Qemu-devel] [PATCH] vhost: fix double free on device stop

2011-06-21 Thread Michael S. Tsirkin
vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S. Tsirkin --- hw/vhost.c |4 1 files changed, 4 insertions(+

[Qemu-devel] [PATCH 08/15] kvm: Drop KVM_CAP build dependencies

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka No longer needed with accompanied kernel headers. We are only left with build dependencies that are controlled by kvm arch headers. CC: Alexander Graf Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- kvm-all.c |8 1 files changed, 0 insertions(+), 8

[Qemu-devel] [PATCH 15/15] kvm: fix FPU state subsection

2011-06-21 Thread Marcelo Tosatti
There is no need to specify version on the subsection fields. Signed-off-by: Marcelo Tosatti --- target-i386/machine.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target-i386/machine.c b/target-i386/machine.c index d22a731..7662aa2 100644 --- a/target-i386/machi

[Qemu-devel] [PATCH 11/15] kvm: Clean up stubs

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka No one references kvm_check_extension, kvm_has_vcpu_events, and kvm_has_robust_singlestep outside KVM code. kvm_update_guest_debug is never called, thus has no job besides returning an error. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- kvm-stub.c | 18 +---

Re: [Qemu-devel] [PATCH 07/18] linux-user: Fix the computation of the requested heap size

2011-06-21 Thread Riku Voipio
On Tue, Jun 21, 2011 at 09:11:00AM +0200, cedric.vinc...@st.com wrote: > On Mon, Jun 20, 2011 at 06:20:12PM +0200, riku.voi...@iki.fi wrote: > > linux-user/syscall.c | 11 ++- > > 1 files changed, 6 insertions(+), 5 deletions(-) > This is not the latest version of the patch (that one in

[Qemu-devel] block: regression: savevm/delvm too slow

2011-06-21 Thread Luiz Capitulino
I'm getting the following times when doing a savevm and delvm in current HEAD eb47d7c5d (time in minutes, each time corresponds to a savevm/delvm run): savevm: 5:28m, 11:00m, 11:10m delvm: 4:30m, 4:40m, > 15m Now, trying with qemu 0.13.0 I get: savevm: < 1:00m, 4:00m, 4:34m delvm: few second

[Qemu-devel] [PATCH 13/15] Remove unneeded kvm.h from cpu-exec.c

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka This was obsoleted by 6792a57bf1. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- cpu-exec.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index e1de56b..7aa1d00 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -20,7

[Qemu-devel] Reminder about your invitation from Ashish Gupta

2011-06-21 Thread Ashish Gupta (LinkedIn Invitations)
LinkedIn This invitation is awaiting your response: From Ashish Gupta -- (c) 2011, LinkedIn Corporation

[Qemu-devel] [PATCHv2] vhost: fix double free on device stop

2011-06-21 Thread Michael S. Tsirkin
vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S. Tsirkin --- hw/vhost.c |1 + 1 files changed, 1 insertions(+),

[Qemu-devel] [PATCH 02/15] Add kernel header update script

2011-06-21 Thread Marcelo Tosatti
From: Jan Kiszka This helper pulls the required kernel headers for KVM and vhost into a specified directory. The update is triggered via scripts/update-linux-headers.sh LINUX_PATH and will place the output under linux-headers/linux and linux-headers/asm-*. It also imports the COPYING to car

[Qemu-devel] [PULL 0/3]: Monitor queue

2011-06-21 Thread Luiz Capitulino
Anthony, The following patches have been sent to the list and look good to me. I've also tested them. The changes (since eb47d7c5d96060040931c42773ee07e61e547af9) are available in the following repository: git://repo.or.cz/qemu/qmp-unstable.git for-anthony Jan Kiszka (2): Allow silent

[Qemu-devel] [PATCH 1/3] error framework: Fix compilation for w32/w64

2011-06-21 Thread Luiz Capitulino
From: Stefan Weil The declaration of function error_set() should use macro GCC_FMT_ATTR instead of gcc's format printf attribute. For w32/w64, both declarations are different and GCC_FMT_ATTR is needed. Compilation for w64 even failed with the original code because mingw64 defines a macro for pr

Re: [Qemu-devel] [PATCHv2] vhost: fix double free on device stop

2011-06-21 Thread Chris Wright
* Michael S. Tsirkin (m...@redhat.com) wrote: > vhost dev stop failed to clear the log field. > Typically not an issue as dev start overwrites this field, > but if logging gets disabled before the following start, > it doesn't so this causes a double free. > > Signed-off-by: Michael S. Tsirkin A

[Qemu-devel] [PATCH 2/3] Allow silent system resets

2011-06-21 Thread Luiz Capitulino
From: Jan Kiszka This allows qemu_system_reset to be issued silently for internal purposes, ie. without sending out a monitor event. Convert the system reset after startup to the silent mode. Signed-off-by: Jan Kiszka Signed-off-by: Luiz Capitulino --- sysemu.h |5 - vl.c | 10

[Qemu-devel] [PATCH 3/3] Reset system before loadvm

2011-06-21 Thread Luiz Capitulino
From: Jan Kiszka In case we load the vmstate during incoming migration, we start from a clean, default machine state as we went through system reset before. But if we load from a snapshot, the machine can be in any state. That can cause troubles if loading an older image which does not carry all

Re: [Qemu-devel] [PATCH] vhost: fix double free on device stop

2011-06-21 Thread Michael S. Tsirkin
On Tue, Jun 21, 2011 at 08:10:44PM +0300, Michael S. Tsirkin wrote: > vhost dev stop failed to clear the log field. > Typically not an issue as dev start overwrites this field, > but if logging gets disabled before the following start, > it doesn't so this causes a double free. > > Signed-off-by:

Re: [Qemu-devel] KVM call agenda for June 21

2011-06-21 Thread Lucas Meneghel Rodrigues
On Tue, 2011-06-21 at 16:56 +0300, Avi Kivity wrote: > On 06/21/2011 04:50 PM, Anthony Liguori wrote: > > On 06/21/2011 06:28 AM, Avi Kivity wrote: > >> On 06/20/2011 10:42 AM, Juan Quintela wrote: > >>> Please send in any agenda items you are interested in covering. > >>> > >> > >> > >> https://bu

Re: [Qemu-devel] [PATCH] vmstate: Add unmigratable flag

2011-06-21 Thread Cam Macdonell
On Mon, Jun 20, 2011 at 3:05 AM, Jan Kiszka wrote: > On 2011-06-19 22:46, Cam Macdonell wrote: >> On Thu, Jun 9, 2011 at 2:39 PM, Jan Kiszka wrote: >>> On 2011-06-09 22:00, Anthony Liguori wrote: On 06/09/2011 11:44 AM, Jan Kiszka wrote: > A first step towards getting rid of register_dev

Re: [Qemu-devel] [PATCH] vmstate: Add unmigratable flag

2011-06-21 Thread Jan Kiszka
On 2011-06-21 22:25, Cam Macdonell wrote: > On Mon, Jun 20, 2011 at 3:05 AM, Jan Kiszka wrote: >> On 2011-06-19 22:46, Cam Macdonell wrote: >>> On Thu, Jun 9, 2011 at 2:39 PM, Jan Kiszka wrote: On 2011-06-09 22:00, Anthony Liguori wrote: > On 06/09/2011 11:44 AM, Jan Kiszka wrote: >>

[Qemu-devel] [PATCH v2 3/3] xen: Fold CONFIG_XEN_MAPCACHE into CONFIG_XEN

2011-06-21 Thread Jan Kiszka
From: Jan Kiszka Xen won't be enabled if there is no backend support available for the host. And that also means the map cache will work. So drop the separate config switch and move the required stubs over to xen-stub.c. Signed-off-by: Jan Kiszka --- Makefile.target |5 + configure

[Qemu-devel] [PATCH v2 0/3] Xen cleanups

2011-06-21 Thread Jan Kiszka
Changes to v1: - rebase over xen-next which includes - dropping of xen_unmap_block uninlining (as it's gone) PS: Alex, there must be some patch(es) with style issues in your queue. Please avoid accepting anything that fails checkpatch unless for valid exceptions. Jan Kiszka (3): xen: Clean up

[Qemu-devel] [PATCH v2 1/3] xen: Clean up build system

2011-06-21 Thread Jan Kiszka
From: Jan Kiszka Introduce CONFIG_XEN_BACKEND so that this new config solely controls the target-independent backend build and CONFIG_XEN can focus on per-target building. Signed-off-by: Jan Kiszka --- Makefile.objs |4 ++-- Makefile.target | 13 +++-- configure |2 +-

[Qemu-devel] [PATCH v2 2/3] xen: Clean up map cache API naming

2011-06-21 Thread Jan Kiszka
From: Jan Kiszka The map cache is a Xen thing, so its API should make this clear. Signed-off-by: Jan Kiszka --- exec.c | 18 ++ trace-events|6 +++--- xen-all.c |4 ++-- xen-mapcache-stub.c | 11 ++- xen-mapcache.c | 41

Re: [Qemu-devel] [PATCH] target-arm: support for ARM1176JZ-s cores

2011-06-21 Thread Peter Maydell
On 21 June 2011 17:13, Jamie Iles wrote: > Hi Peter, > > On Tue, Jun 21, 2011 at 04:43:44PM +0100, Peter Maydell wrote: >> On 21 June 2011 13:55, Jamie Iles wrote: >> > +    case ARM_CPUID_ARM1176: >> > +        set_feature(env, ARM_FEATURE_V4T); >> > +        set_feature(env, ARM_FEATURE_V5); >>

[Qemu-devel] Votre site Web pour 999 DT seulement !

2011-06-21 Thread promotion site Web
PROMOTION SITE WEB Du 21 juin au 8 juillet 2011 Nous proposons aux entreprises/associations une solution Internet clé en main à 999 Dinars. Grande ou petite, votre entreprise/association ne peut plus se passer d’un site internet si elle désire grandir et se faire connaitre du plus grand nombre

Re: [Qemu-devel] [PATCH] target-arm: support for ARM1176JZ-s cores

2011-06-21 Thread Jamie Iles
On 21 June 2011 23:13, Peter Maydell wrote: > On 21 June 2011 17:13, Jamie Iles wrote: >> Hi Peter, >> >> On Tue, Jun 21, 2011 at 04:43:44PM +0100, Peter Maydell wrote: >>> On 21 June 2011 13:55, Jamie Iles wrote: >>> > +    case ARM_CPUID_ARM1176: >>> > +        set_feature(env, ARM_FEATURE_V4T

Re: [Qemu-devel] [PATCHv2] vhost: fix double free on device stop

2011-06-21 Thread Jason Wang
On 06/22/2011 01:34 AM, Michael S. Tsirkin wrote: vhost dev stop failed to clear the log field. Typically not an issue as dev start overwrites this field, but if logging gets disabled before the following start, it doesn't so this causes a double free. Signed-off-by: Michael S. Tsirkin --- Acke

Re: [Qemu-devel] [PATCH v2] virtio-serial: Fix segfault on guest boot

2011-06-21 Thread Amit Shah
On (Fri) 17 Jun 2011 [15:58:08], Luiz Capitulino wrote: > If I start qemu with: > > # qemu -hda disks/test.img -enable-kvm -m 1G -snapshot \ > -device virtio-serial \ > -chardev socket,host=localhost,port=1234,server,nowait,id=foo \ > -device virtserialport,chardev=foo

Re: [Qemu-devel] [PATCH] virtio-serial: Fix segfault on guest boot

2011-06-21 Thread Amit Shah
On (Sun) 19 Jun 2011 [00:43:20], Blue Swirl wrote: > On Sat, Jun 18, 2011 at 6:42 AM, Amit Shah wrote: > > On (Fri) 17 Jun 2011 [15:08:11], Luiz Capitulino wrote: > > > >> > >          if (!cpkt.value) { > >> > > -            error_report("virtio-serial-bus: Guest failure in adding > >> > > devic

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-21 Thread Pavel Dovgaluk
> "Pavel Dovgaluk" wrote: > > This patch fixes save/restore of serial interface's state. > > It includes changing of fcr setter function (it now does not invoke > > an interrupt while loading vmstate), and saving/restoring all > > fields that describe the state of serial interface (including t

[Qemu-devel] buildbot failure in qemu on s390-next_x86_64_debian_5_0

2011-06-21 Thread qemu
The Buildbot has detected a new failure on builder s390-next_x86_64_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/s390-next_x86_64_debian_5_0/builds/11 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzu

[Qemu-devel] buildbot failure in qemu on s390-next_i386_debian_5_0

2011-06-21 Thread qemu
The Buildbot has detected a new failure on builder s390-next_i386_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/s390-next_i386_debian_5_0/builds/11 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki B

  1   2   >