[Qemu-devel] Say hello to all QEMU/KVM developers

2011-04-17 Thread Zhi Yong Wu

[Qemu-devel] Question about vpc 004 testcase of qemu-iotests

2011-04-17 Thread Lyu Mitnick
Hello all, I use qemu-iotests to test vpc part of master tree. An error occurred when I type ./check -vpc. Error message is as follows: 004 4s ... - output mismatch (see 004.out.bad) --- 004.out 2011-04-10 15:43:21.819400771 +0800 +++ 004.out.bad 2011-04-17 10:45:00.642745274 +0800 @@ -9,7 +9,8

[Qemu-devel] [PATCH] kvm: ppc: detect old headers

2011-04-17 Thread Alexander Graf
When compiling Qemu with older kernel headers, the PVR setting mechanism isn't available yet. Unfortunately, back then I didn't add a capability we could check against, so all we can do is add a configure test to see if we support PVR setting. For BookE, we don't care yet. While at it, also memset

[Qemu-devel] [PATCH] kvm: ppc: warn user on PAGE_SIZE mismatch

2011-04-17 Thread Alexander Graf
On PPC, the default PAGE_SIZE is 64kb. Unfortunately, the hardware alignments don't match here: There are RAM and MMIO regions within a single page when it's 64kb in size. So the only way out for now is to tell the user that he should use 4k PAGE_SIZE. This patch gives the user a hint on that, te

[Qemu-devel] how to debug bochs sbios?

2011-04-17 Thread Cyclonus J
hi, I am currently using an old version of qemu which is still using bios from bochs project. And I am wondering how to capture the output of those BX_INFO and BX_DEBUG macros? Thanks, CJ

[Qemu-devel] how to debug bochs sbios on qemu?

2011-04-17 Thread Cyclonus J
hi, I am currently using an old version of qemu which is still using bios from bochs project. And I am wondering how to capture the output of those BX_INFO and BX_DEBUG macros? Thanks, CJ

Re: [Qemu-devel] [PATCH 2/6] kvm: add kvmclock to its second bit

2011-04-17 Thread Jan Kiszka
On 2011-04-17 00:10, Marcelo Tosatti wrote: > From: Glauber Costa > > We have two bits that can represent kvmclock in cpuid. > They signal the guest which msr set to use. When we tweak flags > involving this value - specially when we use "-", we have to act on both. > > Besides adding it to the

Re: [Qemu-devel] [PATCH] Slirp reverse UDP firewall

2011-04-17 Thread Avi Kivity
On 04/14/2011 11:04 PM, Daisuke Nojiri wrote: Hi, Avi, Complex and complete firewalling is probably out of my focus for now. I'm trying to introduce a simple reverse firewall functionality which filters outgoing patckets based on only destination address and port. Since Qemu doesn't have any

Re: [Qemu-devel] [PATCH 1/3] slirp: Implement TFTP Blocksize option

2011-04-17 Thread Avi Kivity
On 04/11/2011 10:10 PM, Herve Poussineau wrote: From: Herv� Poussineau Note: your charset is UTF-8 but this is Latin-1 (I think). Please use consistent charsets. -- error compiling committee.c: too many arguments to function

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Avi Kivity
On 04/16/2011 02:58 AM, Ritchie, Stuart wrote: > >You can do this with ivshmem today. You give it a path to a shared >memory file, and then there's a path in sysfs that you can mmap() in >userspace in the guest. Please correct me if I am wrong, but with ivshmem you must to manage your world wit

Re: [Qemu-devel] [PATCH 24/26] acpi, acpi_piix: factor out GPE logic

2011-04-17 Thread Avi Kivity
On 03/16/2011 11:29 AM, Isaku Yamahata wrote: factor out ACPI GPE logic. Later it will be used by ICH9 ACPI. I think this patch is causing qemu-kvm failures on migration: (gdb) bt #0 0x0049aff4 in qemu_put_be16s (f=0x1a74490, pv=0x2c02580, size=2) at hw/hw.h:108 #1 put_uint16 (f=0x

Re: [Qemu-devel] [PATCH 24/26] acpi, acpi_piix: factor out GPE logic

2011-04-17 Thread Isaku Yamahata
On Sun, Apr 17, 2011 at 04:17:51PM +0300, Avi Kivity wrote: > On 03/16/2011 11:29 AM, Isaku Yamahata wrote: >> factor out ACPI GPE logic. Later it will be used by ICH9 ACPI. >> > > I think this patch is causing qemu-kvm failures on migration: > (gdb) bt > #0 0x0049aff4 in qemu_put_be16s (f

Re: [Qemu-devel] 2.6.32.x guest dies when trying to run tcpdump

2011-04-17 Thread Nikola Ciprich
OK, just wanted to let You know I were testing it quite a lot, and I'm not able to reproduce this with 2.6.38.3-rc1. So the bug must have been fixed. I'll bisect it to find proper fix so it can be posted to stable... n. On Sat, Apr 02, 2011 at 09:42:26PM +0200, Nikola Ciprich wrote: > Hello Ste

Re: [Qemu-devel] [PATCH 24/26] acpi, acpi_piix: factor out GPE logic

2011-04-17 Thread Avi Kivity
On 04/17/2011 04:50 PM, Isaku Yamahata wrote: On Sun, Apr 17, 2011 at 04:17:51PM +0300, Avi Kivity wrote: > On 03/16/2011 11:29 AM, Isaku Yamahata wrote: >> factor out ACPI GPE logic. Later it will be used by ICH9 ACPI. >> > > I think this patch is causing qemu-kvm failures on migration: > (g

[Qemu-devel] [PATCH 1/5] Export the unassigned_mem read/write functions.

2011-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- cpu-common.h |7 +++ exec.c | 12 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 96c02ae..e17020b 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -45,6 +45,13 @@ static inline void

[Qemu-devel] [PATCH 2/5] target-alpha: Disassemble EV6 PALcode instructions.

2011-04-17 Thread Richard Henderson
The QEMU emulation PALcode will use EV6 PALcode insns regardless of the "real" cpu instruction set being emulated. Signed-off-by: Richard Henderson --- alpha-dis.c |4 dis-asm.h |3 +++ disas.c |2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/alpha-dis

[Qemu-devel] [PATCH 3/5] pci: Export pci_to_cpu_addr.

2011-04-17 Thread Richard Henderson
This is, more or less, the read accessor to pci_bus_set_mem_base as a write accessor. It will be needed for implementing sparse memory spaces for Alpha. Signed-off-by: Richard Henderson --- hw/pci.c |3 +-- hw/pci.h |1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH 0/5] Alpha system emulation

2011-04-17 Thread Richard Henderson
This is good enough to begin booting the Linux kernel. We do not get all the way to userspace yet; I've found two kernel bugs so far leading to immediate crashes, I suspect there are more that have crept in. At the moment we seem to get into the cpu_idle loop without managing to schedule the fir

[Qemu-devel] [PATCH 4/5] target-alpha: Prepare for Alpha BIOS images.

2011-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- Makefile |3 ++- configure |2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fa93be5..a3ac9c7 100644 --- a/Makefile +++ b/Makefile @@ -184,7 +184,8 @@ pxe-rtl8139.bin pxe-virtio.bin \ bamboo.dtb petalogix

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Alexander Graf
On 17.04.2011, at 18:14, Richard Henderson wrote: > Delete the old partial support for alpha-softmmu, which kind-of tried > to emulate real HW and its PALcode. Instead, use a custom HW interface > for a custom PALcode. Wire up as much of the device emulation as is > available. Mind to split it

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Peter Maydell
On 17 April 2011 17:14, Richard Henderson wrote: > Delete the old partial support for alpha-softmmu, which kind-of tried > to emulate real HW and its PALcode.  Instead, use a custom HW interface > for a custom PALcode.  Wire up as much of the device emulation as is > available. >  pc-bios/palcode

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Richard Henderson
On 04/17/2011 10:03 AM, Peter Maydell wrote: > On 17 April 2011 17:14, Richard Henderson wrote: >> Delete the old partial support for alpha-softmmu, which kind-of tried >> to emulate real HW and its PALcode. Instead, use a custom HW interface >> for a custom PALcode. Wire up as much of the devic

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Richard Henderson
On 04/17/2011 09:42 AM, Alexander Graf wrote: > Mind to split it up? I'm having a hard time reading such huge patches O_o. > Awesome work, btw :). What sort of split would you like to see? I thought about it, but there's not too many splits that actually compile individually. r~

Re: [Qemu-devel] [PATCH 1/3] slirp: Implement TFTP Blocksize option

2011-04-17 Thread Hervé Poussineau
Hi, Yes, I've tried booting with PXELINUX and gPXE, and I didn't see any problem. Hervé Stefan Hajnoczi a écrit : On Mon, Apr 11, 2011 at 07:10:52PM +, Herve Poussineau wrote: From: Herv? Poussineau This option is described in RFC 1783. As this is only an optional field, we may ign

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Alexander Graf
On 17.04.2011, at 19:12, Richard Henderson wrote: > On 04/17/2011 09:42 AM, Alexander Graf wrote: >> Mind to split it up? I'm having a hard time reading such huge patches O_o. >> Awesome work, btw :). > > What sort of split would you like to see? > > I thought about it, but there's not too man

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Alexander Graf
On 17.04.2011, at 19:11, Richard Henderson wrote: > On 04/17/2011 10:03 AM, Peter Maydell wrote: >> On 17 April 2011 17:14, Richard Henderson wrote: >>> Delete the old partial support for alpha-softmmu, which kind-of tried >>> to emulate real HW and its PALcode. Instead, use a custom HW interfa

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Richard Henderson
On 04/17/2011 11:23 AM, Alexander Graf wrote: > We try to keep a reference in pc-bios/README on where it comes from > and Anthony usually wants you to also add git submodule magic for > easy cloning :). The README is easy. I don't know what a git submodule is. Pointers are very welcome... r~

Re: [Qemu-devel] [PATCH] Remove unneeded function parameter from gen_pc_load

2011-04-17 Thread Aurelien Jarno
On Thu, Apr 14, 2011 at 08:50:00PM +0200, Stefan Weil wrote: > Am 13.04.2011 23:05, schrieb Peter Maydell: > >On 13 April 2011 21:38, Stefan Weil wrote: > >>gen_pc_load was introduced in commit > >>d2856f1ad4c259e5766847c49acbb4e390731bd4. > >>The only reason for parameter searched_pc was > >>a de

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Alexander Graf
On 17.04.2011, at 20:26, Richard Henderson wrote: > On 04/17/2011 11:23 AM, Alexander Graf wrote: >> We try to keep a reference in pc-bios/README on where it comes from >> and Anthony usually wants you to also add git submodule magic for >> easy cloning :). > > The README is easy. I don't know

Re: [Qemu-devel] [PATCH 1/3] slirp: Implement TFTP Blocksize option

2011-04-17 Thread Stefan Hajnoczi
On Sun, Apr 17, 2011 at 7:16 PM, Hervé Poussineau wrote: > Hi, > > Yes, I've tried booting with PXELINUX and gPXE, and I didn't see any > problem. Great. Thanks for confirming. Stefan

[Qemu-devel] [PULL] Migration of misc devices

2011-04-17 Thread Juan Quintela
The following changes since commit a0102082de4026833afbd2525e8a6320d1f92885: usb: fix spelling errors in usb-linux.c (2011-04-16 12:24:28 +0100) are available in the git repository at: git://repo.or.cz/qemu/quintela.git vmstate-misc-devices-v2 Juan Quintela (45): vmstate: port adb_kb

Re: [Qemu-devel] [PATCH] Remove unneeded function parameter from gen_pc_load

2011-04-17 Thread Stefan Weil
Am 17.04.2011 20:27, schrieb Aurelien Jarno: On Thu, Apr 14, 2011 at 08:50:00PM +0200, Stefan Weil wrote: Am 13.04.2011 23:05, schrieb Peter Maydell: On 13 April 2011 21:38, Stefan Weil wrote: gen_pc_load was introduced in commit d2856f1ad4c259e5766847c49acbb4e390731bd4. The only reason for p

Re: [Qemu-devel] [PATCH] Remove unneeded function parameter from gen_pc_load

2011-04-17 Thread Peter Maydell
On 17 April 2011 22:07, Stefan Weil wrote: > Am 17.04.2011 20:27, schrieb Aurelien Jarno: >> >> On Thu, Apr 14, 2011 at 08:50:00PM +0200, Stefan Weil wrote: >>> >>> Am 13.04.2011 23:05, schrieb Peter Maydell: On 13 April 2011 21:38, Stefan Weil wrote: > > gen_pc_load was introdu

Re: [Qemu-devel] [PATCH] Remove unneeded function parameter from gen_pc_load

2011-04-17 Thread Aurelien Jarno
On Sun, Apr 17, 2011 at 10:34:47PM +0100, Peter Maydell wrote: > On 17 April 2011 22:07, Stefan Weil wrote: > > Am 17.04.2011 20:27, schrieb Aurelien Jarno: > >> > >> On Thu, Apr 14, 2011 at 08:50:00PM +0200, Stefan Weil wrote: > >>> > >>> Am 13.04.2011 23:05, schrieb Peter Maydell: > >

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Ritchie, Stuart
On 4/17/11 5:43 AM, "Avi Kivity" wrote: >On 04/16/2011 02:58 AM, Ritchie, Stuart wrote: >> > >> >You can do this with ivshmem today. You give it a path to a shared >> >memory file, and then there's a path in sysfs that you can mmap() in >> >userspace in the guest. >> >> Please correct me if I am

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Ritchie, Stuart
On 4/16/11 1:52 AM, "Stefan Hajnoczi" wrote: >On Sat, Apr 16, 2011 at 1:27 AM, Brad Hards wrote: >> On Saturday 16 April 2011 09:58:32 Ritchie, Stuart wrote: >>> How does that sound? >> As a general user: Confusing. >> >> Is there a concrete example (specific applications, specific >>performance

[Qemu-devel] [Bug 764252] [NEW] wishlist: kirkwood support

2011-04-17 Thread Jack Bauer
Public bug reported: This is a feature request for qemu to emulate the Marvell Kirkwood chipset. It is used by Sheevaplug, Guruplug, and many NAS devices. ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- dev

Re: [Qemu-devel] Para-virtualized ram-based filesystem?

2011-04-17 Thread Avi Kivity
On 04/18/2011 06:28 AM, Ritchie, Stuart wrote: On 4/17/11 5:43 AM, "Avi Kivity" wrote: >On 04/16/2011 02:58 AM, Ritchie, Stuart wrote: >> > >> >You can do this with ivshmem today. You give it a path to a shared >> >memory file, and then there's a path in sysfs that you can mmap() in >> >us

Re: [Qemu-devel] [PATCH 5/5] target-alpha: Emulate Alpha SX164.

2011-04-17 Thread Paolo Bonzini
On 04/17/2011 08:31 PM, Alexander Graf wrote: On 17.04.2011, at 20:26, Richard Henderson wrote: On 04/17/2011 11:23 AM, Alexander Graf wrote: We try to keep a reference in pc-bios/README on where it comes from and Anthony usually wants you to also add git submodule magic for easy cloning :).