Re: [Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-05 Thread Avi Kivity
On 11/05/2012 08:26 AM, Jan Kiszka wrote: > On 2012-11-04 20:21, Avi Kivity wrote: > > On 11/04/2012 10:30 AM, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> Cirrus is triggering this, e.g. during Win2k boot: Changes only on > >> disabled regions require no topology update when transaction dept

[Qemu-devel] [help] error: when install on nest-kvm

2012-11-05 Thread Sheldon
Hi all, There is a error when I install a RHEL or FC17 os on my nest-kvm. I find some error in the qemu log( attachment) as follow: KVM: entry failed, hardware error 0x7 so I check the related code in kvm.c. int kvm_arch_handle_exit(CPUX86State *env, struct kvm_run *run) { uint64_t code; int

Re: [Qemu-devel] [help] error: when install on nest-kvm

2012-11-05 Thread Sheldon
On 11/05/2012 04:44 PM, Sheldon wrote: Hi all, There is an error when I install a RHEL or FC17 os on my nest-kvm. I find some error in the qemu log( attachment) as follow: KVM: entry failed, hardware error 0x7 so I check the related code in kvm.c. int kvm_arch_handle_exit(CPUX86State *env, s

Re: [Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-05 Thread Jan Kiszka
On 2012-11-05 09:12, Avi Kivity wrote: > On 11/05/2012 08:26 AM, Jan Kiszka wrote: >> On 2012-11-04 20:21, Avi Kivity wrote: >>> On 11/04/2012 10:30 AM, Jan Kiszka wrote: From: Jan Kiszka Cirrus is triggering this, e.g. during Win2k boot: Changes only on disabled regions requir

Re: [Qemu-devel] [PATCH] xhci: Fix some DMA host endian bugs

2012-11-05 Thread Gerd Hoffmann
On 11/05/12 05:20, David Gibson wrote: > Here's an updated version that uses a temporary buffer. > > From 588a8f874c8d5a658ef95e35164e182a915091db Mon Sep 17 00:00:00 2001 > From: David Gibson > Date: Mon, 5 Nov 2012 14:29:01 +1100 > Subject: [PATCH] xhci: Fix some DMA host endian bugs > > The x

Re: [Qemu-devel] [Qemu-trivial] [PATCH v4] correct error message qemu-img reported

2012-11-05 Thread Stefan Hajnoczi
On Mon, Nov 5, 2012 at 8:41 AM, liguang wrote: > qemu-img will complain when qcow or qcow2 > size overflow for 64 bits, report the right > message in this condition. > > Signed-off-by: liguang > --- > qemu-img.c |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) Reviewed-by: Ste

Re: [Qemu-devel] [Qemu-ppc] [PATCH v2 1/2] Make default boot order machine specific

2012-11-05 Thread Avik Sil
On 10/26/2012 05:15 PM, Alexander Graf wrote: > > On 25.10.2012, at 22:57, Alexander Graf wrote: > >> >> On 25.10.2012, at 22:50, Peter Maydell wrote: >> >>> On 25 October 2012 21:18, Anthony Liguori wrote: The other approach to this would be: static QEMUMachine pseries_machine =

[Qemu-devel] slow virtio network with vhost=on and multiple cores

2012-11-05 Thread Dietmar Maurer
Network performance with vhost=on is extremely bad if a guest uses multiple cores: HOST kernel: RHEL 2.6.32-279.11.1.el6 KVM 1.2.0 GuestOS: Debian Squeeze (amd64 or 686), CentOS 6.2 Test with something like (install Debian Squeeze first): ./x86_64-softmmu/qemu-system-x86_64 -smp sockets=1,cores

Re: [Qemu-devel] Testing migration under stress

2012-11-05 Thread Orit Wasserman
On 11/05/2012 02:30 AM, David Gibson wrote: > On Fri, Nov 02, 2012 at 02:12:25PM +0200, Orit Wasserman wrote: >> On 11/02/2012 05:10 AM, David Gibson wrote: >>> Asking for some advice on the list. >>> >>> I have prorotype savevm and migration support ready for the pseries >>> machine. They seem to

Re: [Qemu-devel] [PATCH 3/4] machine: add default_devices field to QEMUMachine

2012-11-05 Thread Markus Armbruster
Anthony Liguori writes: > This allows a machine to describe default devices that are only available > when -nodefaults is not present. > > Signed-off-by: Anthony Liguori > --- > hw/boards.h | 6 ++ > vl.c| 13 + > 2 files changed, 19 insertions(+) > > diff --git a/hw/bo

Re: [Qemu-devel] [PULL 0/7] spice patch queue

2012-11-05 Thread Gerd Hoffmann
Hi, > git://anongit.freedesktop.org/spice/qemu spice.v62 Pushed spice.v63 : rebased to latest master, solved one conflict, otherwise unchanged. cheers, Gerd

Re: [Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-05 Thread Avi Kivity
On 11/05/2012 10:51 AM, Jan Kiszka wrote: > On 2012-11-05 09:12, Avi Kivity wrote: > > On 11/05/2012 08:26 AM, Jan Kiszka wrote: > >> On 2012-11-04 20:21, Avi Kivity wrote: > >>> On 11/04/2012 10:30 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Cirrus is triggering this, e.g. during

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2012-11-05 Thread Stefan Hajnoczi
On Mon, Nov 5, 2012 at 12:51 PM, Dietmar Maurer wrote: > Network performance with vhost=on is extremely bad if a guest uses multiple > cores: > > HOST kernel: RHEL 2.6.32-279.11.1.el6 > KVM 1.2.0 > GuestOS: Debian Squeeze (amd64 or 686), CentOS 6.2 > > Test with something like (install Debian Squ

Re: [Qemu-devel] [patch v5 5/8] memory: introduce local lock for address space

2012-11-05 Thread Avi Kivity
On 11/02/2012 10:00 AM, Jan Kiszka wrote: > > > >> As I understand the series, as->lock == NULL means that we will never > >> take any lock during dispatch as the caller is not yet ready for > >> fine-grained locking. This prevents the problem - for PIO at least. But > >> this series should break

Re: [Qemu-devel] [PATCH] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-05 Thread Jan Kiszka
On 2012-11-05 13:33, Avi Kivity wrote: > On 11/05/2012 10:51 AM, Jan Kiszka wrote: >> On 2012-11-05 09:12, Avi Kivity wrote: >>> On 11/05/2012 08:26 AM, Jan Kiszka wrote: On 2012-11-04 20:21, Avi Kivity wrote: > On 11/04/2012 10:30 AM, Jan Kiszka wrote: >> From: Jan Kiszka >>

Re: [Qemu-devel] XP install cores with SCSI LSI 53C895A disks - follow up

2012-11-05 Thread Paolo Bonzini
Il 04/11/2012 11:20, Gerhard Wiesinger ha scritto: > Hello, > > Clean XP install cores with SCSI LSI 53C89A disk when copying files. > Isn't on the same file, so looks like a timing problem. Reproduceable. > Driver used is sym_hi. Details are below. Hmm, why is XP resetting the HBA while copying

Re: [Qemu-devel] [PATCHv2 3/4] Support for "double whitelist" filters

2012-11-05 Thread Corey Bryant
On 11/02/2012 06:14 PM, Paul Moore wrote: On Friday, November 02, 2012 06:00:29 PM Corey Bryant wrote: On 11/02/2012 05:29 PM, Paul Moore wrote: On Tuesday, October 23, 2012 03:55:31 AM Eduardo Otubo wrote: This patch includes a second whitelist right before the main loop. It's a smaller and

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2012-11-05 Thread Dietmar Maurer
> On Mon, Nov 5, 2012 at 12:51 PM, Dietmar Maurer > wrote: > > Network performance with vhost=on is extremely bad if a guest uses > multiple cores: > > > > HOST kernel: RHEL 2.6.32-279.11.1.el6 > > KVM 1.2.0 > > GuestOS: Debian Squeeze (amd64 or 686), CentOS 6.2 > > > > Test with something like (i

Re: [Qemu-devel] Ubuntu/Debian Installer + Virtio-SCSI -> Bad ram pointer

2012-11-05 Thread Peter Lieven
Am 31.10.2012 um 15:08 schrieb ronnie sahlberg: > On Tue, Oct 30, 2012 at 10:48 PM, Stefan Hajnoczi wrote: >> On Tue, Oct 30, 2012 at 10:09 PM, ronnie sahlberg >> wrote: >>> About half a year there was an issue where recent kernels had added >>> support to start using new scsi opcodes, but the

Re: [Qemu-devel] [PATCH] migrate: error message for ram_load size

2012-11-05 Thread Eric Blake
On 11/03/2012 10:22 AM, Doug Goldstein wrote: > Report an error when ramblock's sizes mismatch with a suggestion to the > user as to what went wrong. If a user has a managedsave state by > libvirt, which is the default now, and upgrades their distro, which in > turn upgrades QEMU, they will be surp

[Qemu-devel] [PATCH v2] memory: Reintroduce dirty flag to optimize changes on disabled regions

2012-11-05 Thread Jan Kiszka
Cirrus is triggering this, e.g. during Win2k boot: Changes only on disabled regions require no topology update when transaction depth drops to 0 again. Signed-off-by: Jan Kiszka --- Changes in v2: - drop useless memory_region_update_pending = true from address_space_init/destroy memory.c |

[Qemu-devel] [Bug 1075252] [NEW] qemu-img cannot read VMDK4 file

2012-11-05 Thread Robert Hubbard
Public bug reported: Unable to read any vmdk4 type files. Goal was to convert to a qcow2, this worked after emitting code. OS is Centos linux 2.6.32. I pulled the latest git tree down for qemu to see if this was resolved, it is not. Starting program: /home/rhubbard/QEMU/qemu/qemu-img info -f v

Re: [Qemu-devel] [PATCH] target-mips: Fix compiler warnings caused by very large constants

2012-11-05 Thread Eric Blake
On 11/05/2012 12:03 AM, Aurelien Jarno wrote: > On Sun, Nov 04, 2012 at 09:29:35PM +0100, Stefan Weil wrote: >> Those constants are larger than 32 bits and need a suffix to avoid >> warnings from some versions of gcc. >> >> Signed-off-by: Stefan Weil >> @@ -3653,7 +3653,7 @@ target_ulong helper_e

Re: [Qemu-devel] [PATCHv2 3/4] Support for "double whitelist" filters

2012-11-05 Thread Paul Moore
On Monday, November 05, 2012 09:39:46 AM Corey Bryant wrote: > On 11/02/2012 06:14 PM, Paul Moore wrote: > > On Friday, November 02, 2012 06:00:29 PM Corey Bryant wrote: > >> On 11/02/2012 05:29 PM, Paul Moore wrote: > >>> On Tuesday, October 23, 2012 03:55:31 AM Eduardo Otubo wrote: > This pa

Re: [Qemu-devel] [PATCHv2 3/4] Support for "double whitelist" filters

2012-11-05 Thread Corey Bryant
On 11/05/2012 04:58 PM, Paul Moore wrote: On Monday, November 05, 2012 09:39:46 AM Corey Bryant wrote: On 11/02/2012 06:14 PM, Paul Moore wrote: On Friday, November 02, 2012 06:00:29 PM Corey Bryant wrote: On 11/02/2012 05:29 PM, Paul Moore wrote: On Tuesday, October 23, 2012 03:55:31 AM Ed

Re: [Qemu-devel] [PATCH] Add realtime option

2012-11-05 Thread Satoru Moriya
On 11/03/2012 03:45 AM, Jan Kiszka wrote:> On 2012-11-03 05:43, Satoru Moriya wrote: >> We have some plans to migrate old enterprise/control systems which >> require low latency (msec order) to kvm virtualized environment. >> In order to satisfy the requirements, this patch adds realtime option >>

Re: [Qemu-devel] [PATCH] tools: initialize main loop before block layer

2012-11-05 Thread malc
On Sat, 3 Nov 2012, Paolo Bonzini wrote: > Tools were broken because they initialized the block layer while > qemu_aio_context was still NULL. > > Reported-by: malc > Signed-off-by: Paolo Bonzini [..snip..] Applied, thanks. -- mailto:av1...@comtv.ru

Re: [Qemu-devel] Testing migration under stress

2012-11-05 Thread David Gibson
On Mon, Nov 05, 2012 at 02:21:37PM +0200, Orit Wasserman wrote: > On 11/05/2012 02:30 AM, David Gibson wrote: > > On Fri, Nov 02, 2012 at 02:12:25PM +0200, Orit Wasserman wrote: > >> On 11/02/2012 05:10 AM, David Gibson wrote: > >>> Asking for some advice on the list. > >>> > >>> I have prorotype s

Re: [Qemu-devel] [PATCH v11] kvm: notify host when the guest is panicked

2012-11-05 Thread Hu Tao
On Tue, Oct 30, 2012 at 10:30:02PM -0400, Sasha Levin wrote: > On Tue, Oct 30, 2012 at 9:48 PM, Wen Congyang wrote: > > At 10/31/2012 09:12 AM, Marcelo Tosatti Wrote: > >> It has been asked earlier why a simple virtio device is not usable > >> for this (with no response IIRC). > > > > 1. We can't

Re: [Qemu-devel] [PATCH v12 09/14] target-mips: Add ASE DSP bit/manipulation instructions

2012-11-05 Thread Jovanovic, Petar
Since the change has been committed as-is, who will be sending fixes for OPC_REPL_PH and other cases? Jia, will you do that? Regards, Petar From: Jia Liu [pro...@gmail.com] Sent: Thursday, November 01, 2012 1:34 AM To: Aurelien Jarno Cc: Richard Henderson;

[Qemu-devel] [PATCH v5 0/7] TCG global variables clean-up

2012-11-05 Thread Evgeny Voevodin
This set of patches moves global variables to tcg_ctx: gen_opc_ptr gen_opparam_ptr gen_opc_buf gen_opparam_buf Build tested for all targets. Execution tested on Exynos4210 target. After this patchset was aplied, I noticed 0.7% speed-up of code generation. Probably, this is due to better data cach

[Qemu-devel] [PATCH v5 2/7] tcg/tcg.h: Duplicate global TCG variables in TCGContext

2012-11-05 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- tcg/tcg.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/tcg/tcg.h b/tcg/tcg.h index c2ae873..6ffec1d 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -450,6 +450,12 @@ struct TCGContext { int goto_tb_issue_mask; #end

[Qemu-devel] [PATCH v5 6/7] TCG: Use gen_opparam_buf from context instead of global variable.

2012-11-05 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- tcg/tcg.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index ea27bd4..d281af9 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -298,7 +298,7 @@ void tcg_func_start(TCGContext *s)

[Qemu-devel] [PATCH v5 5/7] TCG: Use gen_opc_buf from context instead of global variable.

2012-11-05 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- target-alpha/translate.c |6 ++-- target-arm/translate.c|6 ++-- target-cris/translate.c |9 +++--- target-i386/translate.c |6 ++-- target-lm32/translate.c |9 +++--- target-m68k

[Qemu-devel] [PATCH v5 4/7] TCG: Use gen_opparam_ptr from context instead of global variable.

2012-11-05 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- gen-icount.h |2 +- tcg/tcg-op.h | 254 +- tcg/tcg.c| 36 - 3 files changed, 146 insertions(+), 146 deletions(-) diff --git a/gen-icount.h b/gen-icount.h

[Qemu-devel] [PATCH v5 7/7] TCG: Remove unused global variables

2012-11-05 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- tcg/tcg.c |4 tcg/tcg.h |4 translate-all.c |3 --- 3 files changed, 11 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index d281af9..359be16 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -96,10 +96

[Qemu-devel] [PATCH v5 3/7] TCG: Use gen_opc_ptr from context instead of global variable.

2012-11-05 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- target-alpha/translate.c |8 ++--- target-arm/translate.c|8 ++--- target-cris/translate.c | 10 +++--- target-i386/translate.c |8 ++--- target-lm32/translate.c | 10 +++--- target-m

Re: [Qemu-devel] Testing migration under stress

2012-11-05 Thread Alexey Kardashevskiy
On 02/11/12 23:12, Orit Wasserman wrote: On 11/02/2012 05:10 AM, David Gibson wrote: Asking for some advice on the list. I have prorotype savevm and migration support ready for the pseries machine. They seem to work under simple circumstances (idle guest). To test them more extensively I've be

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2012-11-05 Thread Dietmar Maurer
> > ./x86_64-softmmu/qemu-system-x86_64 -smp sockets=1,cores=2 -m 512 - > hda > > debian-squeeze-netinst.raw -netdev > > type=tap,id=net0,ifname=tap111i0,vhost=on -device > > virtio-net-pci,netdev=net0,id=net0 > > > > Downloading a larger file with wget inside the guest will show the problem. > Spe

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2012-11-05 Thread Dietmar Maurer
> Is the network path you are downloading across reasonably idle so that you > get reproducible results between runs? Also tested with netperf (to local host) now. Results in short (performance in Mbit/sec): vhost=off,cores=1: 3982 vhost=off,cores=2: 3930 vhost=off,cores=4: 3912 vhost=on,cores=

Re: [Qemu-devel] Testing migration under stress

2012-11-05 Thread David Gibson
On Tue, Nov 06, 2012 at 04:22:11PM +1100, Alexey Kardashevskiy wrote: > On 02/11/12 23:12, Orit Wasserman wrote: > >On 11/02/2012 05:10 AM, David Gibson wrote: > >>Asking for some advice on the list. > >> > >>I have prorotype savevm and migration support ready for the pseries > >>machine. They see

Re: [Qemu-devel] [PATCH v12 09/14] target-mips: Add ASE DSP bit/manipulation instructions

2012-11-05 Thread Aurelien Jarno
On Tue, Nov 06, 2012 at 03:50:08AM +, Jovanovic, Petar wrote: > Since the change has been committed as-is, who will be sending fixes for > OPC_REPL_PH and other cases? > Jia, will you do that? > I am working on a patch series fixing and cleaning DSP support, it will include this fix. I hope

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2012-11-05 Thread Dietmar Maurer
> > got incredible bad performance - can't you reproduce the problem? > > I have seen a similar problem, but it seems to be only with extreme old guest > kernels. With Ubuntu 12.04 it seems not to be there. Can you try a recent > guest kernel. I know that it works with newer kernels. But we need

Re: [Qemu-devel] Testing migration under stress

2012-11-05 Thread Alexey Kardashevskiy
On 06/11/12 17:55, David Gibson wrote: On Tue, Nov 06, 2012 at 04:22:11PM +1100, Alexey Kardashevskiy wrote: On 02/11/12 23:12, Orit Wasserman wrote: On 11/02/2012 05:10 AM, David Gibson wrote: Asking for some advice on the list. I have prorotype savevm and migration support ready for the pse