Re: [Qemu-devel] [PATCH] qemu-ga: vss-win32: Install VSS provider COM+ application service

2013-11-03 Thread Gal Hammer
Reviewed-by: Gal Hammer gham...@redhat.com On 01/11/2013 23:47, Tomoki Sekiyama wrote: Currently, qemu-ga for Windows fails to execute guset-fsfreeze-freeze when no user is logging in to Windows, with an error message: {error:{class:GenericError, desc:failed to add C:\\ to

[Qemu-devel] Trace ARM PC

2013-11-03 Thread Xin Tong
Hi. I would like to trace all the executed instruction PC in QEMU ARM. Because ARM has conditional execution, we do not know whether an instruction will execute or not at translation time. Therefore the PC tracing code can not be generated before the instruction is disassembled. (i.e. before

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Andreas Färber
Anthony, Am 31.10.2013 22:03, schrieb Anthony Liguori: On Thu, Oct 31, 2013 at 3:37 PM, Andreas Färber afaer...@suse.de wrote: Hello Anthony, This is my updated QOM devices patch queue. Please pull or provide more details of what is not working in your build environment. Andreas, If

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Anthony Liguori
On Sun, Nov 3, 2013 at 5:28 AM, Andreas Färber afaer...@suse.de wrote: Anthony, The errors are the exact same as before. Install some VMs and reproduce the problem. I just checked and it fails under 64-bit Fedora 19. I have successfully booted up openSUSE 12.3 x86_64 and SLES 11 SP3

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Andreas Färber
Anthony, Am 03.11.2013 14:58, schrieb Anthony Liguori: On Sun, Nov 3, 2013 at 5:28 AM, Andreas Färber afaer...@suse.de wrote: Anthony, The errors are the exact same as before. Install some VMs and reproduce the problem. I just checked and it fails under 64-bit Fedora 19. I have

[Qemu-devel] segmentation fault in ARM TCG

2013-11-03 Thread Xin Tong
I am running QEMU user mode, but i hit a SIGSEV. It seems that tcg_malloc returns invalid address. The stack trace looks like this. and the s-nb_temps looks ok as well. I also turned on DEBUG_TCGV and all the TCGV_X uses are good. (gdb) bt #0 0x75db0866 in ?? () from

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Anthony Liguori
On Sun, Nov 3, 2013 at 7:12 AM, Andreas Färber afaer...@suse.de wrote: Anthony, Am 03.11.2013 14:58, schrieb Anthony Liguori: On Sun, Nov 3, 2013 at 5:28 AM, Andreas Färber afaer...@suse.de wrote: Anthony, The errors are the exact same as before. Install some VMs and reproduce the

[Qemu-devel] [PATCH] ossaudio: do not enable by default

2013-11-03 Thread Anthony Liguori
Modern Linux's no longer support /dev/dsp so enabling it by default causes audio failures on newer Linux distros. Signed-off-by: Anthony Liguori aligu...@amazon.com --- audio/ossaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/ossaudio.c b/audio/ossaudio.c index

Re: [Qemu-devel] [PATCH] ossaudio: do not enable by default

2013-11-03 Thread Andreas Färber
Am 03.11.2013 17:45, schrieb Anthony Liguori: Modern Linux's no longer support /dev/dsp so enabling it by default causes audio failures on newer Linux distros. Signed-off-by: Anthony Liguori aligu...@amazon.com --- audio/ossaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Qemu-devel] [PATCH] ossaudio: do not enable by default

2013-11-03 Thread Anthony Liguori
On Sun, Nov 3, 2013 at 9:12 AM, Andreas Färber afaer...@suse.de wrote: Am 03.11.2013 17:45, schrieb Anthony Liguori: Modern Linux's no longer support /dev/dsp so enabling it by default causes audio failures on newer Linux distros. Signed-off-by: Anthony Liguori aligu...@amazon.com ---

[Qemu-devel] [Bug 1246990] Re: [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11 (Segmentation fault) - core dumped

2013-11-03 Thread Michael Tokarev
I'm not sure x86*-linux-user targets are being tested at all. Last time I checked, x86-64 variant crashed left and right to the point of being completely unusable... -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Peter Maydell
On 3 November 2013 16:32, Anthony Liguori anth...@codemonkey.ws wrote: In particular, the problem is that the lm4549 is bit-rotted which is spawned by pl041 which is pulled in by certain boards like the vexpress-a15 on arm-softmmu. My guess is that your config doesn't have audio enabled so

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Andreas Färber
Am 03.11.2013 19:47, schrieb Peter Maydell: On 3 November 2013 16:32, Anthony Liguori anth...@codemonkey.ws wrote: In particular, the problem is that the lm4549 is bit-rotted which is spawned by pl041 which is pulled in by certain boards like the vexpress-a15 on arm-softmmu. My guess is that

Re: [Qemu-devel] Trace ARM PC

2013-11-03 Thread Peter Maydell
On 3 November 2013 10:31, Xin Tong trent.t...@gmail.com wrote: I would like to trace all the executed instruction PC in QEMU ARM. Because ARM has conditional execution, we do not know whether an instruction will execute or not at translation time. This is a rather odd way to look at

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Peter Maydell
On 3 November 2013 18:52, Andreas Färber afaer...@suse.de wrote: I believe that info is already outdated as per IRC. A patch to ossaudio has been submitted to change the default away from OSS for virgin ./configure. Problem is lack of /dev/dsp on some distros and ossaudio.c's error handling

[Qemu-devel] [Bug 1246990] Re: [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11 (Segmentation fault) - core dumped

2013-11-03 Thread Peter Maydell
The backtrace indicates that this is a multithreaded application. These won't work reliably under qemu-user : they tend to crash, as you have found. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [PATCH] qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option)

2013-11-03 Thread Jan Kiszka
On 2013-11-01 11:10, Michael Tokarev wrote: 01.11.2013 13:54, Michael Büsch wrote: On Fri, 01 Nov 2013 13:32:49 +0400 Michael Tokarev m...@tls.msk.ru wrote: That looks right. Are you okay adding your Signed-off-by to the patch you initially submitted? If yes, I'll make a formal patch

[Qemu-devel] [PATCH] exec: fix regression by making system-memory region UINT64_MAX size

2013-11-03 Thread Marcel Apfelbaum
The commit: Commit: a53ae8e934cd54686875b5bcfc2f434244ee55d6 Author: Marcel Apfelbaum marce...@redhat.com Date: Mon Sep 16 11:21:16 2013 +0300 hw/pci: partially handle pci master abort introduced a regression on make check: qemu-system-mips64el: /home/andreas/QEMU/qemu-cpu/exec.c:802:

Re: [Qemu-devel] [PATCH] exec: fix regression by making system-memory region UINT64_MAX size

2013-11-03 Thread Peter Maydell
On 3 November 2013 20:48, Marcel Apfelbaum marce...@redhat.com wrote: The problem appears when a root memory region within an address space with size UINT64_MAX has overlapping children with the same size. If the size of the root memory region is UINT64_MAX everyting is ok. Solved the

Re: [Qemu-devel] [PULL v2 00/56] QOM devices patch queue 2013-10-31

2013-11-03 Thread Andreas Färber
Am 03.11.2013 19:58, schrieb Peter Maydell: On 3 November 2013 18:52, Andreas Färber afaer...@suse.de wrote: I believe that info is already outdated as per IRC. A patch to ossaudio has been submitted to change the default away from OSS for virgin ./configure. Problem is lack of /dev/dsp on

[Qemu-devel] [Bug 998435] Re: qemu-kvm-spice doesn't support spice/qxl installs

2013-11-03 Thread Ilya G. Ryabinkin
Bug still exist in 12.04. BIOS messages are not visible with qxl driver; however, with installed guest addiations it is possible to log in to guest OS (tried with Windows) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] segmentation fault in ARM TCG

2013-11-03 Thread Richard Henderson
On 11/03/2013 05:22 AM, Xin Tong wrote: I am running QEMU user mode, but i hit a SIGSEV. It seems that tcg_malloc returns invalid address. This looks like arena corruption. Try running under valgrind. r~

Re: [Qemu-devel] [PATCH 04/20] tcg-ia64: Simplify brcond

2013-11-03 Thread Aurelien Jarno
On Thu, Oct 31, 2013 at 01:21:53PM -0700, Richard Henderson wrote: There was a misconception that a stop bit is required between a compare and the branch that uses the predicate set by the compare. This lead to This seems to be true. the usage of an extra bundle in which to perform the

Re: [Qemu-devel] [PATCH 01/20] tcg-ia64: Use TCGMemOp within qemu_ldst routines

2013-11-03 Thread Aurelien Jarno
On Thu, Oct 31, 2013 at 01:21:50PM -0700, Richard Henderson wrote: Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/ia64/tcg-target.c | 171 ++ 1 file changed, 90 insertions(+), 81 deletions(-) diff --git a/tcg/ia64/tcg-target.c

Re: [Qemu-devel] [PATCH 03/20] tcg-ia64: Handle constant calls

2013-11-03 Thread Aurelien Jarno
On Thu, Oct 31, 2013 at 01:21:52PM -0700, Richard Henderson wrote: Using only indirect calls results in 3 bundles (one to load the descriptor address), and 4 stop bits. By looking through the descriptor to the constants, we can perform the call with 2 bundles and only 1 stop bit.

Re: [Qemu-devel] [PATCH 02/20] tcg-ia64: Use shortcuts for nop insns

2013-11-03 Thread Aurelien Jarno
On Thu, Oct 31, 2013 at 01:21:51PM -0700, Richard Henderson wrote: There's no need to go through the full opcode-to-insn function call to generate nops. This makes the source a bit more readable. Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/ia64/tcg-target.c | 251

Re: [Qemu-devel] [PATCH 04/20] tcg-ia64: Simplify brcond

2013-11-03 Thread Richard Henderson
On 11/03/2013 12:56 PM, Aurelien Jarno wrote: That said the implementation is likely wrong as with this patch applied, qemu-system-x86_64 is not even able to execute seabios to the first printed message. Please do at least basic testing. Really? I'll look into it. I do basic testing -- arm,

[Qemu-devel] [PATCH v3] ppc: introduce CPUPPCState::cpu_dt_id

2013-11-03 Thread Alexey Kardashevskiy
Normally CPUState::cpu_index is used to pick the right CPU for various operations. However default consecutive numbering does not always work for POWERPC. For example, on POWER7 (which supports 4 threads per core), -smp 8,threads=4 should create CPUs with indexes 0,1,2,3,4,5,6,7 and -smp

Re: [Qemu-devel] [PATCH V4 1/6] snapshot: add parameter *errp in snapshot create

2013-11-03 Thread Wenchao Xia
于 2013/11/2 20:39, Max Reitz 写道: On 14.10.2013 23:52, Wenchao Xia wrote: The return value is only used for error report before this patch, so change the function protype to return void. Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- block/qcow2-snapshot.c| 27

Re: [Qemu-devel] [PATCH V4 2/6] qcow2: add error message in qcow2_write_snapshots()

2013-11-03 Thread Wenchao Xia
On 14.10.2013 23:52, Wenchao Xia wrote: The function still returns int since qcow2_snapshot_delete() will return the number. Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- block/qcow2-snapshot.c | 48 ++-- 1 files changed, 42

Re: [Qemu-devel] [PATCH V4 3/6] qcow2: do not free clusters when fail in header update in qcow2_write_snapshots

2013-11-03 Thread Wenchao Xia
于 2013/11/2 21:56, Max Reitz 写道: On 02.11.2013 14:04, Max Reitz wrote: On 14.10.2013 23:52, Wenchao Xia wrote: Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- block/qcow2-snapshot.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 0/6] qapi: generate event defines automatically

2013-11-03 Thread Wenchao Xia
于 2013/11/1 22:28, Luiz Capitulino 写道: On Mon, 21 Oct 2013 10:15:59 +0800 Wenchao Xia xiaw...@linux.vnet.ibm.com wrote: This series move the event define to qapi code, so later other components could use it easily, it also make monitor code less and easier to decouple with other code. Yes,

Re: [Qemu-devel] [PATCH 2/6] qapi: rename MonitorEvent to QEvent

2013-11-03 Thread Wenchao Xia
于 2013/11/1 22:02, Luiz Capitulino 写道: On Mon, 21 Oct 2013 10:16:01 +0800 Wenchao Xia xiaw...@linux.vnet.ibm.com wrote: Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- block.c|2 +- include/block/block_int.h |2 +- include/monitor/monitor.h |6

[Qemu-devel] [PATCH] RFC: powerpc: add PVR compatibility check

2013-11-03 Thread Alexey Kardashevskiy
If QEMU is started with KVM enabled and -cpu specified, and the CPU is not from the family which the host is running on, an error should be displayed so this the patch does. Cc: Andreas Färber afaer...@suse.de Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- Is that correct to assume that

Re: [Qemu-devel] [PATCH 04/20] tcg-ia64: Simplify brcond

2013-11-03 Thread Richard Henderson
On 11/04/2013 09:34 AM, Richard Henderson wrote: On 11/03/2013 12:56 PM, Aurelien Jarno wrote: That said the implementation is likely wrong as with this patch applied, qemu-system-x86_64 is not even able to execute seabios to the first printed message. Please do at least basic testing.

[Qemu-devel] [PATCH] exec: limit system memory size

2013-11-03 Thread Michael S. Tsirkin
The page table logic in exec.c assumes that memory addresses are at most TARGET_PHYS_ADDR_SPACE_BITS. But pci addresses are full 64 bit so if we try to render them ignoring the extra bits, we get strange effects with sections overlapping each other. To fix, simply limit the system memory size to

Re: [Qemu-devel] [PATCH] exec: limit system memory size

2013-11-03 Thread Michael S. Tsirkin
On Mon, Nov 04, 2013 at 08:06:08AM +0200, Michael S. Tsirkin wrote: The page table logic in exec.c assumes that memory addresses are at most TARGET_PHYS_ADDR_SPACE_BITS. But pci addresses are full 64 bit so if we try to render them ignoring the extra bits, we get strange effects with

Re: [Qemu-devel] [PATCH] exec: fix regression by making system-memory region UINT64_MAX size

2013-11-03 Thread Michael S. Tsirkin
On Sun, Nov 03, 2013 at 09:26:06PM +, Peter Maydell wrote: On 3 November 2013 20:48, Marcel Apfelbaum marce...@redhat.com wrote: The problem appears when a root memory region within an address space with size UINT64_MAX has overlapping children with the same size. If the size of the

Re: [Qemu-devel] [PATCH 1/2] kvm/apic: use QOM style

2013-11-03 Thread 赵小强
于 09/27/2013 01:30 PM, xiaoqiang zhao 写道: From: xiaoqiang.zhao zxq_yx_...@163.com Change apic and kvm/apic to use QOM interface. Includes: 1. APICCommonState now use QOM realizefn 2. Remove DO_UPCAST() for APICCommonState 3. Use type constant 4. Change DeviceState pointers from 'd' to 'dev',

Re: [Qemu-devel] [PATCH 3/3] block: per caller dirty bitmap

2013-11-03 Thread Fam Zheng
On 10/30/2013 03:49 PM, Paolo Bonzini wrote: Il 30/10/2013 08:08, Fam Zheng ha scritto: Previously a BlockDriverState has only one dirty bitmap, so only one caller (e.g. a block job) can keep track of writing. This changes the dirty bitmap to a list and creates one HBitmap for each caller, the

[Qemu-devel] [PATCH RFC] blockdev: copy legacy and common opts to qemu_drive_opts

2013-11-03 Thread Amos Kong
Currently we have three QemuOptsList (qemu_common_drive_opts, qemu_legacy_drive_opts, and qemu_drive_opts), only qemu_drive_opts is added to vm_config_groups[]. We query commandline options by checking information in vm_config_groups[], so we can only get a NULL parameter list now. This patch

Re: [Qemu-devel] [PATCH] block: Avoid unecessary drv-bdrv_getlength() calls

2013-11-03 Thread Fam Zheng
On Tue 29 Oct 2013 08:12:38 PM CST, Kevin Wolf wrote: Am 29.10.2013 um 13:02 hat Paolo Bonzini geschrieben: Il 29/10/2013 12:35, Kevin Wolf ha scritto: The block layer generally keeps the size of an image cached in bs-total_sectors so that it doesn't have to perform expensive operations to

Re: [Qemu-devel] Libvirt support of mac-programming over macvtap planned?

2013-11-03 Thread Amos Kong
Laine Stump wrote: On 10/30/2013 07:18 AM, Amos Kong wrote: On Tue, Oct 29, 2013 at 09:50:56AM -0400, Matthew Rosato wrote: Amos Kong provided QEMU support to facilitate macvtap rx-filter change notification here: http://lists.nongnu.org/archive/html/qemu-devel/2013-07/msg02736.html

Re: [Qemu-devel] [PATCH] RFC: powerpc: add PVR compatibility check

2013-11-03 Thread Alexander Graf
On 04.11.2013, at 04:36, Alexey Kardashevskiy a...@ozlabs.ru wrote: If QEMU is started with KVM enabled and -cpu specified, and the CPU is not from the family which the host is running on, an error should be displayed so this the patch does. Cc: Andreas Färber afaer...@suse.de