Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code

2013-05-28 Thread Michael S. Tsirkin
On Mon, May 27, 2013 at 11:14:47AM -0500, Anthony Liguori wrote: Well specifically if_ether.h says GPLv2+ so it's OK for QEMU. Do you mean for some other non GPL app? Ignore QEMU for the moment. The headers say they are BSD licensed... but they include a GPLv2+ header. Above is a bit

Re: [Qemu-devel] [PATCH] rtl8139: flush queued packets when RxBufPtr is written

2013-05-28 Thread Peter Lieven
On 27.05.2013 17:29, Stefan Hajnoczi wrote: On Mon, May 27, 2013 at 04:24:59PM +0200, Peter Lieven wrote: On 27.05.2013 16:07, Oliver Francke wrote: Well, Am 27.05.2013 um 08:15 schrieb Peter Lieven lieven-li...@dlhnet.de: Hi all, I ocassionally have seen a probably related problem in the

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread Michael S. Tsirkin
On Tue, May 28, 2013 at 08:21:24AM +0800, li guang wrote: 在 2013-05-27一的 23:23 +0300,Michael S. Tsirkin写道: On Mon, May 27, 2013 at 09:22:59AM +0800, li guang wrote: 在 2013-05-26日的 19:51 -0500,Anthony Liguori写道: li guang lig.f...@cn.fujitsu.com writes: 在 2013-05-24五的 14:45

[Qemu-devel] [PATCH 2/2] chardev: fix info chardev output

2013-05-28 Thread Gerd Hoffmann
Fill unset CharDriverState-filename with the backend name, so 'info chardev' will return at least the chardev type. Don't touch it in case the chardev init function filled it already, like the socket+pty chardevs do for example. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- qemu-char.c |

[Qemu-devel] [PULL 0/2] chardev: fix info chardev output

2013-05-28 Thread Gerd Hoffmann
Hi, Tiny series, first reverting the broken patch from Lei Li, then fixing it for real. please pull, Gerd The following changes since commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29: Remove Sun4c, Sun4d and a few CPUs (2013-05-26 11:37:58 +) are available in the git repository at:

[Qemu-devel] [PATCH 1/2] Revert chardev: Get filename for new qapi backend

2013-05-28 Thread Gerd Hoffmann
Does not handle chardevs created via chardev-add monitor command. This reverts commit 2b220025993e76d4116781ca91a4fabc5ad9c722. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- qemu-char.c |2 -- 1 file changed, 2 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 4f8382e..f825294

Re: [Qemu-devel] [PATCH 1/3] qemu_chr_new_from_opts: do not overwrite existing chr-filename

2013-05-28 Thread Gerd Hoffmann
On 05/27/13 20:13, Stefano Stabellini wrote: Set the new filename only if it hasn't been already set (for example by qemu_chr_open_pty). This fixes a regression that prevents Xen HVM domains from booting. It was introduced by: commit 2b220025993e76d4116781ca91a4fabc5ad9c722 Author: Lei

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread li guang
Hi, Michael 在 2013-05-28二的 09:31 +0300,Michael S. Tsirkin写道: On Tue, May 28, 2013 at 08:21:24AM +0800, li guang wrote: 在 2013-05-27一的 23:23 +0300,Michael S. Tsirkin写道: On Mon, May 27, 2013 at 09:22:59AM +0800, li guang wrote: 在 2013-05-26日的 19:51 -0500,Anthony Liguori写道: li guang

Re: [Qemu-devel] [PATCH 3/4] ich9: add notifer for ec to generate sci

2013-05-28 Thread Michael S. Tsirkin
On Wed, May 22, 2013 at 11:46:36AM +0800, liguang wrote: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/acpi/ich9.c | 15 +++ include/hw/acpi/ich9.h |1 + 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index

[Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Fam Zheng
We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces the magic prefix ^ to include a driver to the whitelist, but only enables qemu to open specific image format readonly, and

Re: [Qemu-devel] [PATCH 3/4] ich9: add notifer for ec to generate sci

2013-05-28 Thread li guang
在 2013-05-28二的 09:40 +0300,Michael S. Tsirkin写道: On Wed, May 22, 2013 at 11:46:36AM +0800, liguang wrote: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/acpi/ich9.c | 15 +++ include/hw/acpi/ich9.h |1 + 2 files changed, 16 insertions(+), 0 deletions(-)

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread Michael S. Tsirkin
On Tue, May 28, 2013 at 02:40:30PM +0800, li guang wrote: Hi, Michael 在 2013-05-28二的 09:31 +0300,Michael S. Tsirkin写道: On Tue, May 28, 2013 at 08:21:24AM +0800, li guang wrote: 在 2013-05-27一的 23:23 +0300,Michael S. Tsirkin写道: On Mon, May 27, 2013 at 09:22:59AM +0800, li guang wrote:

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-05-28 Thread Wenchao Xia
于 2013-4-19 22:24, Paolo Bonzini 写道: From: Nicholas Bellinger n...@linux-iscsi.org The WWPN specified in configfs is passed to -device vhost-scsi-pci. The tgpt field of the SET_ENDPOINT ioctl is obsolete now, so it is not available from the QEMU command-line. Instead, I hardcode it to zero.

Re: [Qemu-devel] [PATCH 2/4] tcg/aarch64: implement new TCG target for aarch64

2013-05-28 Thread Claudio Fontana
On 27.05.2013 20:47, Richard Henderson wrote: On 2013-05-27 04:43, Claudio Fontana wrote: Hmm, true. Although I'd been thinking more along the lines of arranging the code such that we'd use movz to set the zero. I think we need to keep treating zero specially if we want to keep the

Re: [Qemu-devel] [PATCH v6 00/12] curl: fix curl read

2013-05-28 Thread Fam Zheng
Sure, I'm using the attached test script. I used your script to test, but I don't see errors as you posted, attached the output. The only difference is that I put libguestfs in different directory with you and I'm using a linux guest image instead of windows xp. Do I need to get a windows

[Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Amos Kong
bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to seabios: /pci@i0cf8/scsi@4/virtio-scsi-device/channel@0/disk@0,0 Signed-off-by: Amos Kong ak...@redhat.com --- src/boot.c | 5 +++-- 1 file changed, 3

Re: [Qemu-devel] [update][PATCH 00/12] target-i386: remove some macros

2013-05-28 Thread Andreas Färber
Am 28.05.2013 04:11, schrieb li guang: 在 2013-05-26日的 17:55 +0200,Andreas Färber写道: Am 24.05.2013 13:37, schrieb Andreas Färber: Am 23.04.2013 10:16, schrieb liguang: remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF as suggested by Richard Henderson r...@twiddle.net Li Guang

Re: [Qemu-devel] [PATCH V3 1/4] block: drop bs_snapshots global variable

2013-05-28 Thread Stefan Hajnoczi
On Mon, May 27, 2013 at 05:25:16PM +0200, Kevin Wolf wrote: Am 25.05.2013 um 05:09 hat Wenchao Xia geschrieben: From: Stefan Hajnoczi stefa...@redhat.com The bs_snapshots global variable points to the BlockDriverState which will be used to save vmstate. This is really a savevm.c concept

Re: [Qemu-devel] [PATCH v6 00/12] curl: fix curl read

2013-05-28 Thread Richard W.M. Jones
On Tue, May 28, 2013 at 03:30:49PM +0800, Fam Zheng wrote: Sure, I'm using the attached test script. I used your script to test, but I don't see errors as you posted, attached the output. The only difference is that I put libguestfs in different directory with you and I'm using a linux

Re: [Qemu-devel] [update][PATCH 00/12] target-i386: remove some macros

2013-05-28 Thread li guang
在 2013-05-28二的 09:41 +0200,Andreas Färber写道: Am 28.05.2013 04:11, schrieb li guang: 在 2013-05-26日的 17:55 +0200,Andreas Färber写道: Am 24.05.2013 13:37, schrieb Andreas Färber: Am 23.04.2013 10:16, schrieb liguang: remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF as suggested

[Qemu-devel] [PATCH v2] OVS: update INSTALL.KVM

2013-05-28 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com When i played with OVS again today, i found that the argument of ovs-dpctl show is not correct, so INSTALL.KVM need to be updated accordingly. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- INSTALL.KVM |2 +- 1 files changed, 1

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 08:44 hat Fam Zheng geschrieben: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces the magic prefix ^ to include a driver to the whitelist, but only enables

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 09:13, Wenchao Xia ha scritto: From: Nicholas Bellinger n...@linux-iscsi.org The WWPN specified in configfs is passed to -device vhost-scsi-pci. The tgpt field of the SET_ENDPOINT ioctl is obsolete now, so it is not available from the QEMU command-line. Instead, I

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 02:44:26PM +0800, Fam Zheng wrote: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces the magic prefix ^ to include a driver to the whitelist, but

Re: [Qemu-devel] kvm process disappears

2013-05-28 Thread Stefan Hajnoczi
On Mon, May 27, 2013 at 11:09:51PM +0200, Stefan Priebe wrote: Am 10.05.2013 13:09, schrieb Stefan Hajnoczi: On Fri, May 10, 2013 at 11:07 AM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: Am 10.05.2013 09:42, schrieb Stefan Hajnoczi: On Fri, May 10, 2013 at 08:12:39AM +0200,

Re: [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 09:40, Amos Kong ha scritto: bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to seabios: /pci@i0cf8/scsi@4/virtio-scsi-device/channel@0/disk@0,0 No, this is another unexpected change due to

Re: [Qemu-devel] [PATCH 1/4] include/elf.h: add aarch64 ELF machine and relocs

2013-05-28 Thread Laurent Desnogues
Hello, On Thu, May 23, 2013 at 10:14 AM, Claudio Fontana claudio.font...@huawei.com wrote: we will use the 26bit relative relocs in the aarch64 tcg target. Is there really any point in adding all of the relocation types? i386 doesn't, mips doesn't, x86_64 doesn't. I didn't check the others.

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 08:44, Fam Zheng ha scritto: diff --git a/scripts/create_config b/scripts/create_config index c471e8c..2dfda3e 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -35,11 +35,18 @@ case $line in echo ;; CONFIG_BDRV_WHITELIST=*) -echo #define

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread Igor Mammedov
On Tue, 28 May 2013 08:28:09 +0800 li guang lig.f...@cn.fujitsu.com wrote: 在 2013-05-27一的 13:45 +0200,Igor Mammedov写道: On Mon, 27 May 2013 09:22:59 +0800 li guang lig.f...@cn.fujitsu.com wrote: 在 2013-05-26日的 19:51 -0500,Anthony Liguori写道: li guang lig.f...@cn.fujitsu.com writes:

[Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Andreas Färber
The implementation of the ATA FLUSH command invokes a flush at the block layer, which may on raw files on POSIX entail a synchronous fdatasync(). This may in some cases take so long that the SLES 11 SP1 guest driver reports I/O errors and filesystems get corrupted or remounted read-only. Avoid

[Qemu-devel] [PATCH v4 00/12] target-i386: remove some macros

2013-05-28 Thread li guang
remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF as suggested by Richard Henderson r...@twiddle.net v4: fix alignment issue in patch 6. Li Guang (12) target-i386/helper: remove EAX macro target-i386/helper: remove EBX macro target-i386/helper: remove ECX

[Qemu-devel] [PATCH v4 01/12] target-i386/helper: remove EAX macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h |2 - target-i386/int_helper.c | 62 ++-- target-i386/mem_helper.c |8 +++--- target-i386/misc_helper.c | 10 +++--- target-i386/seg_helper.c |8 +++---

Re: [Qemu-devel] [Bug 1184089] Re: [Feature request] loadvm snapshot as read-only

2013-05-28 Thread Stefan Hajnoczi
On Mon, May 27, 2013 at 10:42:17PM -, Michael Coppola wrote: Awesome, looking forward to it. I may be misunderstanding what's happening under the hood, but at least for me, calling 'loadvm' on a single snapshot over and over seems to work the first few times and then immediately blue

[Qemu-devel] [PATCH v4 02/12] target-i386/helper: remove EBX macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h |2 -- target-i386/mem_helper.c |4 ++-- target-i386/misc_helper.c |2 +- target-i386/seg_helper.c |6 +++--- target-i386/smm_helper.c |8 5 files changed, 10 insertions(+), 12

[Qemu-devel] [PATCH v4 08/12] target-i386/helper: remove EDI macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h|2 -- target-i386/seg_helper.c |6 +++--- target-i386/smm_helper.c |8 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/target-i386/cpu.h b/target-i386/cpu.h index e287290..585776a

[Qemu-devel] [PATCH v4 05/12] target-i386/helper: remove EBP macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h|2 -- target-i386/seg_helper.c | 10 +- target-i386/smm_helper.c |8 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/target-i386/cpu.h b/target-i386/cpu.h index ebc5abd..fc0cf65

[Qemu-devel] [PATCH v4 07/12] target-i386/helper: remove ESI macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h|2 -- target-i386/seg_helper.c |6 +++--- target-i386/smm_helper.c |8 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 6b058bb..e287290

[Qemu-devel] [PATCH v4 03/12] target-i386/helper: remove ECX macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h |2 -- target-i386/mem_helper.c |4 ++-- target-i386/misc_helper.c | 44 ++-- target-i386/seg_helper.c | 18 +- target-i386/smm_helper.c |8

[Qemu-devel] [PATCH v4 09/12] target-i386/helper: remove EIP macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h |2 -- target-i386/excp_helper.c |2 +- target-i386/misc_helper.c |4 ++-- target-i386/seg_helper.c | 24 target-i386/svm_helper.c | 16 5 files changed, 23

[Qemu-devel] [PATCH v4 12/12] target-i386: fix over 80 chars warnings

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/misc_helper.c | 39 ++- target-i386/seg_helper.c | 16 +--- target-i386/svm_helper.c |6 -- 3 files changed, 39 insertions(+), 22 deletions(-) diff --git

[Qemu-devel] [PATCH v4 11/12] target-i386/helper: remove redundant env-eip assignment

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/svm_helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c index 649be02..e18fa35 100644 --- a/target-i386/svm_helper.c +++ b/target-i386/svm_helper.c @@

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread Igor Mammedov
On Tue, 28 May 2013 14:40:30 +0800 li guang lig.f...@cn.fujitsu.com wrote: Hi, Michael 在 2013-05-28二的 09:31 +0300,Michael S. Tsirkin写道: On Tue, May 28, 2013 at 08:21:24AM +0800, li guang wrote: 在 2013-05-27一的 23:23 +0300,Michael S. Tsirkin写道: On Mon, May 27, 2013 at 09:22:59AM +0800,

[Qemu-devel] [PATCH v4 04/12] target-i386/helper: remove EDX macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h |2 -- target-i386/int_helper.c | 24 target-i386/mem_helper.c |8 target-i386/misc_helper.c |8 target-i386/seg_helper.c |8

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 10:18 hat Andreas Färber geschrieben: The implementation of the ATA FLUSH command invokes a flush at the block layer, which may on raw files on POSIX entail a synchronous fdatasync(). This may in some cases take so long that the SLES 11 SP1 guest driver reports I/O errors and

Re: [Qemu-devel] [PATCH v4 00/12] target-i386: remove some macros

2013-05-28 Thread Andreas Färber
Am 28.05.2013 10:19, schrieb li guang: remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF as suggested by Richard Henderson r...@twiddle.net v4: fix alignment issue in patch 6. Thanks, I reviewed patch 6, the rest was already Reviewed-by, so Li Guang (12)

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-05-28 Thread Asias He
On Tue, May 28, 2013 at 10:01:14AM +0200, Paolo Bonzini wrote: Il 28/05/2013 09:13, Wenchao Xia ha scritto: From: Nicholas Bellinger n...@linux-iscsi.org The WWPN specified in configfs is passed to -device vhost-scsi-pci. The tgpt field of the SET_ENDPOINT ioctl is obsolete now, so

Re: [Qemu-devel] [PATCH] block: add read only to whitelist

2013-05-28 Thread Fam Zheng
On Tue, 05/28 10:10, Paolo Bonzini wrote: Il 28/05/2013 08:44, Fam Zheng ha scritto: diff --git a/scripts/create_config b/scripts/create_config index c471e8c..2dfda3e 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -35,11 +35,18 @@ case $line in echo ;;

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread li guang
在 2013-05-28二的 10:16 +0200,Igor Mammedov写道: On Tue, 28 May 2013 08:28:09 +0800 li guang lig.f...@cn.fujitsu.com wrote: 在 2013-05-27一的 13:45 +0200,Igor Mammedov写道: On Mon, 27 May 2013 09:22:59 +0800 li guang lig.f...@cn.fujitsu.com wrote: 在 2013-05-26日的 19:51 -0500,Anthony

[Qemu-devel] [PATCH v4 10/12] target-i386/helper: remove DF macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- cpu-exec.c |4 ++-- target-i386/cc_helper.c |2 +- target-i386/cpu.h |6 ++ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index 31c089d..ec46380 100644 --- a/cpu-exec.c

[Qemu-devel] [PATCH v4 06/12] target-i386/helper: remove ESP macro

2013-05-28 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-i386/cpu.h|2 - target-i386/seg_helper.c | 90 +++-- target-i386/smm_helper.c |8 ++-- target-i386/svm_helper.c |8 ++-- 4 files changed, 54 insertions(+), 54 deletions(-) diff

Re: [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_anon_ram_alloc'

2013-05-28 Thread Stefan Hajnoczi
On Mon, May 27, 2013 at 09:04:26PM -, Nigel Horne wrote: On Mon, May 27, 2013 at 4:02 PM, Nigel Horne 1184...@bugs.launchpad.net wrote: The latest git version (commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29) fails to compile: ... LINK qemu-ga libqemuutil.a(oslib-posix.o):

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread li guang
Hi, Igor 在 2013-05-28二的 10:26 +0200,Igor Mammedov写道: On Tue, 28 May 2013 14:40:30 +0800 li guang lig.f...@cn.fujitsu.com wrote: Hi, Michael 在 2013-05-28二的 09:31 +0300,Michael S. Tsirkin写道: On Tue, May 28, 2013 at 08:21:24AM +0800, li guang wrote: 在 2013-05-27一的 23:23

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Andreas Färber
Am 28.05.2013 10:27, schrieb Kevin Wolf: Am 28.05.2013 um 10:18 hat Andreas Färber geschrieben: The implementation of the ATA FLUSH command invokes a flush at the block layer, which may on raw files on POSIX entail a synchronous fdatasync(). This may in some cases take so long that the SLES 11

Re: [Qemu-devel] [PATCH v6 00/12] curl: fix curl read

2013-05-28 Thread Richard W.M. Jones
On Tue, May 28, 2013 at 08:47:59AM +0100, Richard W.M. Jones wrote: I'm not sure if a Windows guest is somehow necessary to show the errors. I'll retest with a Linux guest and get back to you about that. Reproducible with Linux guest (remotely over slow Wifi). Also I'm testing against a

Re: [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_anon_ram_alloc'

2013-05-28 Thread Fam Zheng
On Tue, 05/28 10:38, Stefan Hajnoczi wrote: On Mon, May 27, 2013 at 09:04:26PM -, Nigel Horne wrote: On Mon, May 27, 2013 at 4:02 PM, Nigel Horne 1184...@bugs.launchpad.net wrote: The latest git version (commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29) fails to compile: ...

Re: [Qemu-devel] [PATCH v6 00/12] curl: fix curl read

2013-05-28 Thread Fam Zheng
On Tue, 05/28 09:46, Richard W.M. Jones wrote: On Tue, May 28, 2013 at 08:47:59AM +0100, Richard W.M. Jones wrote: I'm not sure if a Windows guest is somehow necessary to show the errors. I'll retest with a Linux guest and get back to you about that. Reproducible with Linux guest

Re: [Qemu-devel] [PATCH v3] qemu: fix out of tree cross compile

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 01:49, Alexey Kardashevskiy ha scritto: The symlink to asm platform linux headers is made in the build tree by the configure script but gcc is not told to look for them there. The patch fixes this. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- The previous patch

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-05-28 Thread Wenchao Xia
于 2013-5-28 16:33, Asias He 写道: On Tue, May 28, 2013 at 10:01:14AM +0200, Paolo Bonzini wrote: Il 28/05/2013 09:13, Wenchao Xia ha scritto: From: Nicholas Bellinger n...@linux-iscsi.org The WWPN specified in configfs is passed to -device vhost-scsi-pci. The tgpt field of the SET_ENDPOINT

Re: [Qemu-devel] [PATCH 1/4] configure: Require libfdt for arm, ppc, microblaze softmmu targets

2013-05-28 Thread Andreas Färber
Am 24.05.2013 17:26, schrieb Peter Maydell: A number of our softmmu targets (PPC, ARM, Microblaze) now more or less require flattened device tree support for various board models to work correctly. Make libfdt mandatory if the target list includes these, rather than building unhelpful

Re: [Qemu-devel] [PATCH v3] qemu: fix out of tree cross compile

2013-05-28 Thread Andreas Färber
Am 28.05.2013 10:54, schrieb Paolo Bonzini: Il 28/05/2013 01:49, Alexey Kardashevskiy ha scritto: The symlink to asm platform linux headers is made in the build tree by the configure script but gcc is not told to look for them there. The patch fixes this. Signed-off-by: Alexey Kardashevskiy

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 10:46 hat Andreas Färber geschrieben: Am 28.05.2013 10:27, schrieb Kevin Wolf: Am 28.05.2013 um 10:18 hat Andreas Färber geschrieben: The implementation of the ATA FLUSH command invokes a flush at the block layer, which may on raw files on POSIX entail a synchronous

[Qemu-devel] [PATCH] qemu-iotests: fix 054 cluster size help output

2013-05-28 Thread Stefan Hajnoczi
Commit f3f4d2c09b9cf46903ba38425ec46c44185162bd added a hint to increase the cluster size when a large image cannot be created. Test 054 now has outdated output and fails because the golden output does not match. This patch updates the 054 golden output. Signed-off-by: Stefan Hajnoczi

Re: [Qemu-devel] [PATCH v3] qemu: fix out of tree cross compile

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 11:12, Andreas Färber ha scritto: Am 28.05.2013 10:54, schrieb Paolo Bonzini: Il 28/05/2013 01:49, Alexey Kardashevskiy ha scritto: The symlink to asm platform linux headers is made in the build tree by the configure script but gcc is not told to look for them there. The patch

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 11:18, Kevin Wolf ha scritto: The other part why I haven't sent a fix yet is that I don't have a test case for it. Temporarily add a sleep(31) in qemu_fdatasync()? I was lazy in testing with -snapshot to not corrupt my disk image, which would not trigger the same issue since

Re: [Qemu-devel] [PATCH qom-cpu 0/3] Conroe/Penryn/Nehalem CPUID family/level fixes

2013-05-28 Thread Igor Mammedov
On Mon, 27 May 2013 17:23:52 -0300 Eduardo Habkost ehabk...@redhat.com wrote: This series changes the CPUID family and level fields of the Conroe, Penryn, and Nehalem CPU models. Testing: those model/level values have been in use on Red Hat Enterprise Linux since version 6.0 (released in

Re: [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 10:06:51AM +0200, Paolo Bonzini wrote: Il 28/05/2013 09:40, Amos Kong ha scritto: bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to seabios:

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 11:24 hat Paolo Bonzini geschrieben: Il 28/05/2013 11:18, Kevin Wolf ha scritto: The other part why I haven't sent a fix yet is that I don't have a test case for it. Temporarily add a sleep(31) in qemu_fdatasync()? I was lazy in testing with -snapshot to not corrupt

Re: [Qemu-devel] [PATCH] qemu-iotests: fix 054 cluster size help output

2013-05-28 Thread Fam Zheng
On Tue, 05/28 11:19, Stefan Hajnoczi wrote: Commit f3f4d2c09b9cf46903ba38425ec46c44185162bd added a hint to increase the cluster size when a large image cannot be created. Test 054 now has outdated output and fails because the golden output does not match. This patch updates the 054 golden

Re: [Qemu-devel] [PATCH] qemu-iotests: fix 054 cluster size help output

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 11:19 hat Stefan Hajnoczi geschrieben: Commit f3f4d2c09b9cf46903ba38425ec46c44185162bd added a hint to increase the cluster size when a large image cannot be created. Test 054 now has outdated output and fails because the golden output does not match. This patch updates the

Re: [Qemu-devel] [PATCH 0/4] add ACPI Embedded Controller

2013-05-28 Thread Igor Mammedov
On Tue, 28 May 2013 16:34:42 +0800 li guang lig.f...@cn.fujitsu.com wrote: 在 2013-05-28二的 10:16 +0200,Igor Mammedov写道: On Tue, 28 May 2013 08:28:09 +0800 li guang lig.f...@cn.fujitsu.com wrote: 在 2013-05-27一的 13:45 +0200,Igor Mammedov写道: On Mon, 27 May 2013 09:22:59 +0800 li

Re: [Qemu-devel] [PATCH qom-cpu 4/4] memory_mapping: Move stubs to libqemustub.a

2013-05-28 Thread Andreas Färber
Am 23.05.2013 12:08, schrieb Paolo Bonzini: Il 22/05/2013 15:09, Andreas Färber ha scritto: Allows us to drop CONFIG_NO_GET_MEMORY_MAPPING with its indirect dependency on CONFIG_HAVE_GET_MEMORY_MAPPING in Makefile.target. Signed-off-by: Andreas Färber afaer...@suse.de --- Makefile.target

Re: [Qemu-devel] [PATCH 1/4] configure: Require libfdt for arm, ppc, microblaze softmmu targets

2013-05-28 Thread Peter Maydell
On 28 May 2013 10:03, Andreas Färber afaer...@suse.de wrote: Am 24.05.2013 17:26, schrieb Peter Maydell: +# fdt support is mandatory for at least some target architectures, +# so insist on it if we're building those system emulators. +fdt_required=no +for target in $target_list; do + case

Re: [Qemu-devel] should qemu-palcode git submodule be hosted on git.qemu.org?

2013-05-28 Thread Peter Maydell
On 23 April 2013 19:35, Anthony Liguori aligu...@us.ibm.com wrote: Peter Maydell peter.mayd...@linaro.org writes: I thought that our git submodules were all supposed to be hosted on git.qemu.org, or does that only apply to the ones which have sources we use to generate binary blobs we ship in

Re: [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 11:35, Amos Kong ha scritto: On Tue, May 28, 2013 at 10:06:51AM +0200, Paolo Bonzini wrote: Il 28/05/2013 09:40, Amos Kong ha scritto: bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to seabios:

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 11:36, Kevin Wolf ha scritto: Am 28.05.2013 um 11:24 hat Paolo Bonzini geschrieben: Il 28/05/2013 11:18, Kevin Wolf ha scritto: The other part why I haven't sent a fix yet is that I don't have a test case for it. Temporarily add a sleep(31) in qemu_fdatasync()? I was lazy in

Re: [Qemu-devel] [PATCH qom-cpu 4/4] memory_mapping: Move stubs to libqemustub.a

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 11:39, Andreas Färber ha scritto: Am 23.05.2013 12:08, schrieb Paolo Bonzini: Il 22/05/2013 15:09, Andreas Färber ha scritto: Allows us to drop CONFIG_NO_GET_MEMORY_MAPPING with its indirect dependency on CONFIG_HAVE_GET_MEMORY_MAPPING in Makefile.target. Signed-off-by: Andreas

Re: [Qemu-devel] [PATCH 2/2] chardev: fix info chardev output

2013-05-28 Thread Gerd Hoffmann
On 05/28/13 08:34, Gerd Hoffmann wrote: Fill unset CharDriverState-filename with the backend name, so 'info chardev' will return at least the chardev type. Don't touch it in case the chardev init function filled it already, like the socket+pty chardevs do for example. Signed-off-by: Gerd

Re: [Qemu-devel] [PATCH] ide: Set BSY bit during FLUSH

2013-05-28 Thread Kevin Wolf
Am 28.05.2013 um 11:48 hat Paolo Bonzini geschrieben: Il 28/05/2013 11:36, Kevin Wolf ha scritto: Am 28.05.2013 um 11:24 hat Paolo Bonzini geschrieben: Il 28/05/2013 11:18, Kevin Wolf ha scritto: The other part why I haven't sent a fix yet is that I don't have a test case for it.

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-28 Thread Luke Gorrie
On 27 May 2013 11:34, Stefan Hajnoczi stefa...@redhat.com wrote: vhost_net is about connecting the a virtio-net speaking process to a tun-like device. The problem you are trying to solve is connecting a virtio-net speaking process to Snabb Switch. Yep! Either you need to replace vhost or

[Qemu-devel] [PATCH RFC] virtio-pci: fix LE host/BE guest capacity for blk

2013-05-28 Thread Michael S. Tsirkin
When a BE guest reads capacity from an LE host virtio-blk device or vice versa, it will get the dwords of the qword field swapped. As virtio-blk is the only one with such a quirk, and as non-pci transports don't do byte-swaps at all, solve this with a bit of device-specific hackery in virtio-pci.

Re: [Qemu-devel] [PATCH RFC] virtio-pci: fix LE host/BE guest capacity for blk

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 12:11, Michael S. Tsirkin ha scritto: When a BE guest reads capacity from an LE host virtio-blk device or vice versa, it will get the dwords of the qword field swapped. As virtio-blk is the only one with such a quirk, and as non-pci transports don't do byte-swaps at all, solve

[Qemu-devel] [PATCH v2 RFC] virtio-pci: fix LE host/BE guest capacity for blk

2013-05-28 Thread Michael S. Tsirkin
When a BE guest reads capacity from an LE host virtio-blk device or vice versa, it will get the dwords of the qword field swapped. As virtio-blk is the only one with such a quirk, and as non-pci transports don't do byte-swaps at all, solve this with a bit of device-specific hackery in virtio-pci.

[Qemu-devel] [PATCH] virtio-pci: drop unused wmb macro

2013-05-28 Thread Michael S. Tsirkin
The implementation is wrong for kvm, and it's unused anyway. Drop it. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/virtio/virtio-pci.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 87b78bc..f4db224 100644 ---

Re: [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Laszlo Ersek
On 05/28/13 10:06, Paolo Bonzini wrote: Il 28/05/2013 09:40, Amos Kong ha scritto: bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to seabios: /pci@i0cf8/scsi@4/virtio-scsi-device/channel@0/disk@0,0 No,

[Qemu-devel] [PATCH] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Amos Kong
Currently we add typename to fw_dev_path if virtio-bus doesn't have get_fw_dev_path implementation, the fw_dev_path passed to seabios is not expected, the typename is redundant. It causes that bootindex parameter of scsi device doesn't work. This patch changes the qdev_get_fw_dev_path_helper() to

[Qemu-devel] [PATCH 1/2] Revert chardev: Get filename for new qapi backend

2013-05-28 Thread Gerd Hoffmann
Does not handle chardevs created via chardev-add monitor command. This reverts commit 2b220025993e76d4116781ca91a4fabc5ad9c722. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- qemu-char.c |2 -- 1 file changed, 2 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 4f8382e..f825294

[Qemu-devel] [PATCH 2/2] chardev: fix info chardev output

2013-05-28 Thread Gerd Hoffmann
Fill unset CharDriverState-filename with the backend name, so 'info chardev' will return at least the chardev type. Don't touch it in case the chardev init function filled it already, like the socket+pty chardevs do for example. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- qemu-char.c |

[Qemu-devel] [PULL 0/2] chardev: fix info chardev output

2013-05-28 Thread Gerd Hoffmann
Hi, Tiny series, first reverting the broken patch from Lei Li, then fixing it for real. please pull, Gerd The following changes since commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29: Remove Sun4c, Sun4d and a few CPUs (2013-05-26 11:37:58 +) are available in the git repository at:

[Qemu-devel] [PULL 0/2] update seabios to release 1.7.2.2

2013-05-28 Thread Gerd Hoffmann
Hi, This pull updates seabios to the 1.7.2.2 release tagged yesterday, bringing some fixes which unfortunaly missed the qemu 1.5 boat. please pull, Gerd The following changes since commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29: Remove Sun4c, Sun4d and a few CPUs (2013-05-26 11:37:58

[Qemu-devel] [PATCH 2/2] update seabios to release 1.7.2.2

2013-05-28 Thread Gerd Hoffmann
git shortlog from 1.7.2.1 Asias He (2): virtio-scsi: Pack struct virtio_scsi_{req_cmd,resp_cmd} virtio-scsi: Set _DRIVER_OK flag before scsi target scanning Kevin O'Connor (1): Cache boot-fail-wait to avoid romfile access after POST. Signed-off-by: Gerd Hoffmann

[Qemu-devel] [PATCH 1/2] Revert roms: switch oldnoconfig to olddefconfig

2013-05-28 Thread Gerd Hoffmann
This reverts commit a5519b42cfd6c00e9f8b31c5aad7682e7a9f1181. Breaks make bios in roms/ as the kconfig version in seabios doesn't support olddefconfig. Must have been be totally untested. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- roms/configure-seabios.sh |2 +- 1 file changed, 1

Re: [Qemu-devel] [PATCH] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-28 Thread Paolo Bonzini
Il 28/05/2013 12:25, Amos Kong ha scritto: Currently we add typename to fw_dev_path if virtio-bus doesn't have get_fw_dev_path implementation, the fw_dev_path passed to seabios is not expected, the typename is redundant. It causes that bootindex parameter of scsi device doesn't work. This

Re: [Qemu-devel] [PATCH] boot: fix path pattern of scsi device

2013-05-28 Thread Amos Kong
On Tue, May 28, 2013 at 12:26:34PM +0200, Laszlo Ersek wrote: On 05/28/13 10:06, Paolo Bonzini wrote: Il 28/05/2013 09:40, Amos Kong ha scritto: bootindex parameter of scsi device doesn't work, it causes by wrong pattern in seabios. qemu passes the following firmware dev_path to

Re: [Qemu-devel] [SeaBIOS] [PULL 0/2] chardev: fix info chardev output

2013-05-28 Thread Gerd Hoffmann
On 05/28/13 12:27, Gerd Hoffmann wrote: Hi, Tiny series, first reverting the broken patch from Lei Li, then fixing it for real. Oops, scratch that. Resent an old series due to 'git send-email 00*.patch' in the wrong directory. sorry, Gerd

Re: [Qemu-devel] [PATCH] makefile: detect corrupted elf files

2013-05-28 Thread Michael S. Tsirkin
On Sun, May 26, 2013 at 08:29:35PM +, Blue Swirl wrote: On Sun, May 26, 2013 at 8:15 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, May 26, 2013 at 07:28:40PM +, Blue Swirl wrote: On Sun, May 26, 2013 at 6:24 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, May 26,

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-28 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 12:10 PM, Luke Gorrie luk...@gmail.com wrote: On 27 May 2013 11:34, Stefan Hajnoczi stefa...@redhat.com wrote: vhost_net is about connecting the a virtio-net speaking process to a tun-like device. The problem you are trying to solve is connecting a virtio-net speaking

Re: [Qemu-devel] [PATCH v6 00/12] curl: fix curl read

2013-05-28 Thread Richard W.M. Jones
After discussion off-list, I've gone back and retested versions 4, 5, and 6 of this patch. I'm using the test script previously attached. I'm using libguestfs (ada94eb9) curl (ba9a) qemu (6a4e177114) all the latest from git. I'm using a 6 GB Windows XP guest. The web server is remote,

Re: [Qemu-devel] [PATCH RFC] virtio-pci: fix LE host/BE guest capacity for blk

2013-05-28 Thread Michael S. Tsirkin
On Tue, May 28, 2013 at 12:14:59PM +0200, Paolo Bonzini wrote: Il 28/05/2013 12:11, Michael S. Tsirkin ha scritto: When a BE guest reads capacity from an LE host virtio-blk device or vice versa, it will get the dwords of the qword field swapped. As virtio-blk is the only one with such a

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-28 Thread Luke Gorrie
Hi Anthony, On 27 May 2013 18:18, Anthony Liguori anth...@codemonkey.ws wrote: It would be very interesting to combine this with vmsplice/splice. Good point. This kernel-centric approach is a very promising one, though not the design we are exploring in the Snabb Switch project. Snabb Switch

Re: [Qemu-devel] [PATCH 1/3] qemu_chr_new_from_opts: do not overwrite existing chr-filename

2013-05-28 Thread Stefano Stabellini
On Tue, 28 May 2013, Gerd Hoffmann wrote: On 05/27/13 20:13, Stefano Stabellini wrote: Set the new filename only if it hasn't been already set (for example by qemu_chr_open_pty). This fixes a regression that prevents Xen HVM domains from booting. It was introduced by: commit

  1   2   3   >