Re: [Qemu-devel] A Question

2011-05-05 Thread Peter Maydell
On 5 May 2011 00:16, Rob Landley r...@landley.net wrote: I note that I have a half-dozen prebuilt system images at http://landley.net/aboriginal/downloads/binaries and the build scripts and such are in the directories above that. I'm afraid I don't entirely understand your file naming system

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-05-05 Thread Boris Derzhavets
What is ITP ? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/723871 Title: qemu-kvm-0.14.0 Aborts with -vga qxl Status in QEMU: Confirmed Status in “libvirt” package in Ubuntu: Triaged Status

[Qemu-devel] [PATCH] s390x: fix smp support for kvm

2011-05-05 Thread Christian Borntraeger
Currently smp support for kvm does not work. Qemu does a kvm run even on secondary CPUs which dont have a sane state (initial psw == 0) triggering some program faults. Architecturally these cpus are in the stopped state, so we should not do the kvm run ioctl. (these CPUs will be started by a SIGP

Re: [Qemu-devel] [PATCH] qemu-kvm: Add CPUID support for VIA CPU

2011-05-05 Thread Jan Kiszka
Hi, the subject's tag (qemu-kvm) is misleading. This is actually targeting the uq/master patch queue, i.e. the upstream kvm staging area. On 2011-05-05 05:03, brill...@viatech.com.cn wrote: When KVM is running on VIA CPU with host cpu's model, the feautures of VIA CPU will be passed into kvm

Re: [Qemu-devel] [PATCH v3 5/5] hpet 'driftfix': add code in hpet_timer() to compensate delayed callbacks and coalesced interrupts

2011-05-05 Thread Ulrich Obergfell
Hi Marcelo, Other than that, shouldnt reset accounting variables to init state on write to GLOBAL_ENABLE_CFG / writes to main counter? I'd suggest to initialize/reset the driftfix-related fields in the 'HPETTimer' structure (including the backlog of unaccounted ticks) in the following

[Qemu-devel] Error handling while loading ROM

2011-05-05 Thread Ben Leslie
Hi all, I'm new to the list, so hopefully I'm not retracing old ground (I did try to search the archives, but maybe I missed something). The problem I have is that when using the Stellarris ARMv7M target if I load an ELF file as my kernel, and some of the ELF segments are outside the range of

[Qemu-devel] Unsubscription Confirmation

2011-05-05 Thread RealEstateMalaysian.com
Thank you for subscribing. You have now unsubscribed and no more messages will be sent.

[Qemu-devel] Allow ARMv7M to be started without a kernel

2011-05-05 Thread Ben Leslie
Hi all, For some current software development I'm doing I've found it most easy to use Qemu in the following manner qemu-system-arm -M lm3s811evb -s -S arm-eabi-gdb From GDB I then load any code I want to debug and test and run it. For this to work however, I needed to make a small change to

Re: [Qemu-devel] [RFC 19/28] target-xtensa: implement RST2 group (32 bit mul/div/rem)

2011-05-05 Thread Max Filippov
        case 2: /*RST2*/ -            TBD(); +            if (_OP2 = 12) { +                HAS_OPTION(XTENSA_OPTION_32_BIT_IDIV); +                int label = gen_new_label(); +                tcg_gen_brcondi_i32(TCG_COND_NE, cpu_R[RRR_T], 0, label); +                

Re: [Qemu-devel] [RFC 12/28] target-xtensa: implement shifts (ST1 and RST1 groups)

2011-05-05 Thread Max Filippov
To track immediate values written to SAR? You mean that there may be some performance difference of fixed size shift vs indirect shift and TCG is able to tell them apart? Well, not really fixed vs indirect, but if you know that the value in the SAR register is in the right range, you can

[Qemu-devel] [RFC] darwin: work around sigfd

2011-05-05 Thread Alexander Graf
When running qemu-system on Darwin, the vcpu processes guest code, but I don't get to see anything on the cocoa screen. When running a guest with -nographic, time stands still for the guest: [0.00] Detected 2659.508 MHz processor. [0.000756] Calibrating delay loop (skipped), value

Re: [Qemu-devel] virtio-scsi spec, first public draft

2011-05-05 Thread Stefan Hajnoczi
On Thu, May 05, 2011 at 12:28:31AM +0200, Paolo Bonzini wrote: Virtio SCSI Controller Device Spec == The virtio controller device groups together one or more simple virtual devices (ie. disk), and allows communicating to these devices using the SCSI protocol.

Re: [Qemu-devel] Allow ARMv7M to be started without a kernel

2011-05-05 Thread Peter Maydell
On 5 May 2011 09:23, Ben Leslie be...@benno.id.au wrote: FWIW, the reason why I'm not using -kernel is that the current way the armv7m code works, it expects the provided kernel to be a full flash image including appropriate vector table, whereas right now I just want to debug some stand-alone

Re: [Qemu-devel] [PATCH 6/6] PPC: Qdev'ify e500 pci

2011-05-05 Thread Alexander Graf
On 04.05.2011, at 21:08, Blue Swirl wrote: On Mon, May 2, 2011 at 6:03 PM, Alexander Graf ag...@suse.de wrote: The e500 PCI controller isn't qdev'ified yet. This leads to severe issues when running with -drive. To be able to use a virtio disk with an e500 VM, let's convert the PCI

[Qemu-devel] Cavium-Octeon support in QEMU

2011-05-05 Thread Khansa Butt
hi I have sent corrected patches regarding MIPS64 user mode emulation with Octeon support. But i got no further review on these Patches the date of mailed patches is 29th of April. the subjects of my mails are as follow *[PATCH 1/3](Corrected version) linux-user:Support for MIPS64 user mode

[Qemu-devel] [PATCH V15 00/18] Xen device model support

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com Hi all, Here is an update on the series that add the support of a Xen HVM guest to QEMU. change v14-v15: - add a patch to not initialise vmport with Xen. The change v13-v14: - Remove of ram_size parameter from pc_memory_init - set both

[Qemu-devel] [PATCH V15 06/18] xen: Add xenfv machine

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen specific call will be added in further patches. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pc_piix.c | 41 +++--

[Qemu-devel] [PATCH V15 04/18] xen: Add initialisation of Xen

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com The xenpv machine use the common init function. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Alexander Graf ag...@suse.de --- Makefile.target |9 + hw/xen.h| 13 + hw/xen_backend.c|

[Qemu-devel] [PATCH V15 05/18] pc_memory_init: Move memory calculation to the caller.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com This patch moves above_4g_mem_size and below_4g_mem_size calculation in the caller of pc_memory_init (pc_init1). And the prototype of pc_memory_init is changed because there is no need anymore to have variable pointer and the ram_size parameter.

[Qemu-devel] [PATCH V15 02/18] xen: Make Xen build once.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com xen_domainbuild and xen_machine_pv are built only for i386 targets. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- Makefile.target |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.target

[Qemu-devel] [PATCH V15 09/18] xen: Introduce Xen Interrupt Controller

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com Every set_irq call makes a Xen hypercall. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/pc_piix.c |8 ++-- hw/xen.h |2 ++ xen-all.c| 12

[Qemu-devel] [PATCH V15 10/18] xen: Introduce the Xen mapcache

2011-05-05 Thread anthony.perard
From: Jun Nakajima jun.nakaj...@intel.com On IA32 host or IA32 PAE host, at present, generally, we can't create an HVM guest with more than 2G memory, because generally it's almost impossible for Qemu to find a large enough and consecutive virtual address space to map an HVM guest's whole

[Qemu-devel] [PATCH V15 07/18] pc, Disable vmport initialisation with Xen.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com This is because there is not synchronisation of the vcpu register between Xen and QEMU, so vmport can't work properly. This patch introduces no_vmport parameter to pc_basic_device_init. Signed-off-by: Anthony PERARD anthony.per...@citrix.com ---

[Qemu-devel] [PATCH V15 03/18] xen: Support new libxc calls from xen unstable.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com This patch updates the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony

[Qemu-devel] [PATCH V15 11/18] xen: Adds a cap to the number of map cache entries.

2011-05-05 Thread anthony.perard
From: John Baboval john.babo...@virtualcomputer.com Adds a cap to the number of map cache entries. This prevents the map cache from overwhelming system memory. I also removed the bitmap macros and #included bitmap.h instead. Signed-off-By: John Baboval john.babo...@virtualcomputer.com

[Qemu-devel] [PATCH V15 17/18] xen: Set running state in xenstore.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com This tells to the xen management tool that the machine can begin run. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Alexander Graf ag...@suse.de --- xen-all.c | 23 +++ 1 files changed, 23 insertions(+), 0

[Qemu-devel] [PATCH V15 08/18] piix_pci: Introduces Xen specific call for irq.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com

[Qemu-devel] [PATCH V15 13/18] configure: Always use 64bits target physical addresses with xen enabled.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com With MapCache, we can handle a 64b target, even with a 32b host/qemu. So, we need to have target_phys_addr_t to 64bits. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Alexander Graf ag...@suse.de --- configure |1 + 1 files

[Qemu-devel] [PATCH V15 12/18] Introduce qemu_put_ram_ptr

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After a call to qemu_put_ram_ptr, the pointer may be unmap from QEMU when used with Xen. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Alexander Graf

[Qemu-devel] [PATCH V15 15/18] vl.c: Introduce getter for shutdown_requested and reset_requested.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com Introduce two functions qemu_shutdown_requested_get and qemu_reset_requested_get to get the value of shutdown/reset_requested without reset it. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini

[Qemu-devel] [PATCH V15 14/18] pci: Use of qemu_put_ram_ptr in pci_add_option_rom.

2011-05-05 Thread anthony.perard
From: John Baboval john.babo...@virtualcomputer.com Prevent a deadlock caused by leaving a map cache bucket locked by the preceding qemu_get_ram_ptr() call. Signed-off-By: John Baboval john.babo...@virtualcomputer.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c |2

[Qemu-devel] [PATCH V15 16/18] xen: Initialize event channels and io rings

2011-05-05 Thread anthony.perard
From: Arun Sharma arun.sha...@intel.com Open and bind event channels; map ioreq and buffered ioreq rings. Signed-off-by: Arun Sharma arun.sha...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by:

[Qemu-devel] [PATCH V15 18/18] xen: Add Xen hypercall for sleep state in the cmos_s3 callback.

2011-05-05 Thread anthony.perard
From: Anthony PERARD anthony.per...@citrix.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pc_piix.c |6 +- hw/xen.h |1 + xen-all.c|9 + xen-stub.c |4 4 files changed, 19 insertions(+), 1 deletions(-) diff --git a/hw/pc_piix.c

Re: [Qemu-devel] [PATCH v2 0/4]usb: implement Interface Association Descriptor support

2011-05-05 Thread Gerd Hoffmann
On 04/03/11 07:33, Brad Hards wrote: These descriptors are covered in Section 9.6.4 of the USB 3.0 spec, but there is a better description in the Intel IAD whitepaper (www.usb.org/developers/whitepapers/iadclasscode_r10.pdf). The implementation basically introduces the concept of a grouped of

Re: [Qemu-devel] Allow ARMv7M to be started without a kernel

2011-05-05 Thread Ben Leslie
On Thu, May 5, 2011 at 19:56, Peter Maydell peter.mayd...@linaro.org wrote: On 5 May 2011 09:23, Ben Leslie be...@benno.id.au wrote: FWIW, the reason why I'm not using -kernel is that the current way the armv7m code works, it expects the provided kernel to be a full flash image including

Re: [Qemu-devel] Bug #757654: UHCI fails to signal stall response patch

2011-05-05 Thread Gerd Hoffmann
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 346db3e..a51d89b 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -732,11 +732,21 @@ out: case USB_RET_STALL: td-ctrl |= TD_CTRL_STALL; td-ctrl= ~TD_CTRL_ACTIVE; +s-status |= UHCI_STS_USBERR; Just this line

Re: [Qemu-devel] [PATCH 0/7] pci: initialize ids in pci common code

2011-05-05 Thread Michael S. Tsirkin
On Fri, Apr 08, 2011 at 09:52:59PM +0900, Isaku Yamahata wrote: vender id/device id... in configuration space are read-only registers which are commonly defined for all pci devices. So initialize them in common code and it simplifies the initialization a bit. I converted some of them. If

Re: [Qemu-devel] [PATCH 1/7] pci: move ids of config space into PCIDeviceInfo

2011-05-05 Thread Michael S. Tsirkin
So the benefit as I see it would be that qemu will be able to list supported devices by vendor id etc. lspci has a database of readable vendor/device strings, maybe we can import that. And we could sort by device type, that's also helpful. header type/prog interface - not so sure. On Fri, Apr

Re: [Qemu-devel] virtio-scsi spec, first public draft

2011-05-05 Thread Paolo Bonzini
Virtqueues 0..n-1:one requestq per target n:control transmitq n+1:control receiveq 1 requestq per target makes it harder to support large numbers or dynamic targets. I chose 1 requestq per target so that, with MSI-X support, each target can be associated to one MSI-X vector.

Re: [Qemu-devel] virtio-scsi spec, first public draft

2011-05-05 Thread Christoph Hellwig
#define VIRTIO_SCSI_T_BARRIER 0x8000 The type identifies the remaining fields. The value VIRTIO_SCSI_T_BARRIER can be ORed in the type as well. This bit indicates that this request acts as a barrier and that all preceding requests must be complete before

Re: [Qemu-devel] virtio-scsi spec, first public draft

2011-05-05 Thread Paolo Bonzini
On 05/05/2011 02:50 PM, Christoph Hellwig wrote: Please don't repeat the barrier mistake done in the Xen and virtio-blk/lguest protocols. It really doesn't make sense to put this kind of strict odering in. If we really want ordering let's do it using SCSI ordered tags at least to use a

Re: [Qemu-devel] [RFC] darwin: work around sigfd

2011-05-05 Thread Paolo Bonzini
On 05/05/2011 11:36 AM, Alexander Graf wrote: When running qemu-system on Darwin, the vcpu processes guest code, but I don't get to see anything on the cocoa screen. Out of curiosity, does it work with iothread? Paolo

Re: [Qemu-devel] [PATCH v2 04/10] eepro100: Pad received short frames

2011-05-05 Thread Michael S. Tsirkin
On Sat, Apr 30, 2011 at 10:40:07PM +0200, Stefan Weil wrote: QEMU sends frames smaller than 60 bytes to ethernet nics. This should be fixed in the networking code because normally such frames are rejected by real NICs and their emulations. To avoid this behaviour, other NIC emulations pad

Re: [Qemu-devel] [PULL v2] eepro100: Update of patch series (fixes and enhancements)

2011-05-05 Thread Michael S. Tsirkin
On Sat, Apr 30, 2011 at 10:40:03PM +0200, Stefan Weil wrote: Hi, this is the second version of a series of patches for eepro100 which mainly fix endianness issues and enhance register access. There was a bug report on qemu-devel recently which is fixed by these enhancements, see

Re: [Qemu-devel] [PATCH v2] MSI: Robust resource release

2011-05-05 Thread Michael S. Tsirkin
On Mon, May 02, 2011 at 08:00:47PM +0200, Jan Kiszka wrote: msi_init may fail, so we need to check on uninit if the cap was actually installed. This also avoids that the users need to check. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Applied, thanks! --- hw/ide/ich.c |5 +

Re: [Qemu-devel] [PATCH] pci: Add class 0x403 as 'audio controller'

2011-05-05 Thread Michael S. Tsirkin
On Mon, May 02, 2011 at 08:01:37PM +0200, Jan Kiszka wrote: Used by HD audio controllers like our intel-hda. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Applied, thanks! --- hw/pci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c

Re: [Qemu-devel] [RFC] darwin: work around sigfd

2011-05-05 Thread Alexander Graf
On 05.05.2011, at 14:56, Paolo Bonzini wrote: On 05/05/2011 11:36 AM, Alexander Graf wrote: When running qemu-system on Darwin, the vcpu processes guest code, but I don't get to see anything on the cocoa screen. Out of curiosity, does it work with iothread? Seems to work with -nographic,

Re: [Qemu-devel] Allow ARMv7M to be started without a kernel

2011-05-05 Thread Peter Maydell
On 5 May 2011 13:03, Ben Leslie be...@benno.id.au wrote: I still think it is somewhat nice that the simulator target can work just like a blank board though, and then connect GDB to it either directly for the sim or via JTAG for a real board. Then it is the same work flow for simulated or real

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Michael S. Tsirkin
On Tue, May 03, 2011 at 12:36:58PM -0600, Alex Williamson wrote: When a phys memory client registers and we play catchup by walking the page tables, we can make a huge improvement in the number of times the set_memory callback is called by batching contiguous pages together. With a 4G guest,

Re: [Qemu-devel] [PATCH v2 0/3] CPUPhysMemoryClient: Fixes and batching

2011-05-05 Thread Michael S. Tsirkin
On Tue, May 03, 2011 at 12:36:19PM -0600, Alex Williamson wrote: This series pulls together several related patches for bugs and performance that I found last week. Only the 2nd patch is actually modified from inital posting, adding the comments suggested by Markus. The 1st two patches fix

Re: [Qemu-devel] [RFC] darwin: work around sigfd

2011-05-05 Thread Paolo Bonzini
On 05/05/2011 03:15 PM, Alexander Graf wrote: On 05.05.2011, at 14:56, Paolo Bonzini wrote: On 05/05/2011 11:36 AM, Alexander Graf wrote: When running qemu-system on Darwin, the vcpu processes guest code, but I don't get to see anything on the cocoa screen. Out of curiosity, does it work

Re: [Qemu-devel] [RFC] darwin: work around sigfd

2011-05-05 Thread Alexander Graf
On 05.05.2011, at 15:23, Paolo Bonzini wrote: On 05/05/2011 03:15 PM, Alexander Graf wrote: On 05.05.2011, at 14:56, Paolo Bonzini wrote: On 05/05/2011 11:36 AM, Alexander Graf wrote: When running qemu-system on Darwin, the vcpu processes guest code, but I don't get to see anything on

Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-05-05 Thread Serge Hallyn
Quoting Boris Derzhavets (723...@bugs.launchpad.net): What is ITP ? ITP is an 'Intent to Package', as outlined at https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages. It's a type of bug to open in order to get packages into the universe archive. -- You received this bug notification

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Alex Williamson
On Thu, 2011-05-05 at 16:21 +0300, Michael S. Tsirkin wrote: On Tue, May 03, 2011 at 12:36:58PM -0600, Alex Williamson wrote: When a phys memory client registers and we play catchup by walking the page tables, we can make a huge improvement in the number of times the set_memory callback is

Re: [Qemu-devel] virtio-scsi spec, first public draft

2011-05-05 Thread Hannes Reinecke
Hi all, On 05/05/2011 02:49 PM, Paolo Bonzini wrote: Virtqueues 0..n-1:one requestq per target n:control transmitq n+1:control receiveq 1 requestq per target makes it harder to support large numbers or dynamic targets. I chose 1 requestq per target so that, with MSI-X support, each target

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Jes Sorensen
On 05/05/11 16:21, Alex Williamson wrote: A bit worried that ram_addr_t size might thinkably overflow (it's just a long, could be a 4G ram). Break it out when it fills up? struct CPUPhysMemoryClient { void (*set_memory)(struct CPUPhysMemoryClient *client,

Re: [Qemu-devel] virtio-scsi spec, first public draft

2011-05-05 Thread Paolo Bonzini
On 05/05/2011 04:29 PM, Hannes Reinecke wrote: I chose 1 requestq per target so that, with MSI-X support, each target can be associated to one MSI-X vector. If you want a large number of units, you can subdivide targets into logical units, or use multiple adapters if you prefer. We can have

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Michael S. Tsirkin
On Thu, May 05, 2011 at 04:30:57PM +0200, Jes Sorensen wrote: On 05/05/11 16:21, Alex Williamson wrote: A bit worried that ram_addr_t size might thinkably overflow (it's just a long, could be a 4G ram). Break it out when it fills up? struct CPUPhysMemoryClient { void

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Michael S. Tsirkin
On Thu, May 05, 2011 at 08:21:06AM -0600, Alex Williamson wrote: On Thu, 2011-05-05 at 16:21 +0300, Michael S. Tsirkin wrote: On Tue, May 03, 2011 at 12:36:58PM -0600, Alex Williamson wrote: When a phys memory client registers and we play catchup by walking the page tables, we can make a

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Jes Sorensen
On 05/05/11 17:18, Michael S. Tsirkin wrote: A memory size can obviously not be bigger than the maximum physical address, so I find it really hard to see how this could overflow. For example, a 4G size does not fit in 32 bits. That is the only corner case - you can handle that by -1 if you

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Michael S. Tsirkin
On Thu, May 05, 2011 at 05:36:04PM +0200, Jes Sorensen wrote: On 05/05/11 17:18, Michael S. Tsirkin wrote: A memory size can obviously not be bigger than the maximum physical address, so I find it really hard to see how this could overflow. For example, a 4G size does not fit in 32 bits.

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Jes Sorensen
On 05/05/11 17:38, Michael S. Tsirkin wrote: On Thu, May 05, 2011 at 05:36:04PM +0200, Jes Sorensen wrote: On 05/05/11 17:18, Michael S. Tsirkin wrote: A memory size can obviously not be bigger than the maximum physical address, so I find it really hard to see how this could overflow.

Re: [Qemu-devel] [PATCH v2 3/3] CPUPhysMemoryClient: Batch contiguous addresses when playing catchup

2011-05-05 Thread Michael S. Tsirkin
On Thu, May 05, 2011 at 05:40:19PM +0200, Jes Sorensen wrote: On 05/05/11 17:38, Michael S. Tsirkin wrote: On Thu, May 05, 2011 at 05:36:04PM +0200, Jes Sorensen wrote: On 05/05/11 17:18, Michael S. Tsirkin wrote: A memory size can obviously not be bigger than the maximum physical

[Qemu-devel] [PULL] piix, pci, msi, memory, vhost, eepro100

2011-05-05 Thread Michael S. Tsirkin
The following changes since commit d2d979c628e4b2c4a3cb71a31841875795c79043: NBD: Avoid leaking a couple of strings when the NBD device is closed (2011-05-03 11:29:21 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu.git for_anthony Alex

Re: [Qemu-devel] [PATCH 0/7] pci: initialize ids in pci common code

2011-05-05 Thread Isaku Yamahata
On Thu, May 05, 2011 at 03:41:57PM +0300, Michael S. Tsirkin wrote: On Fri, Apr 08, 2011 at 09:52:59PM +0900, Isaku Yamahata wrote: vender id/device id... in configuration space are read-only registers which are commonly defined for all pci devices. So initialize them in common code and it

Re: [Qemu-devel] [PATCH v2 04/10] eepro100: Pad received short frames

2011-05-05 Thread Stefan Weil
Am 05.05.2011 15:00, schrieb Michael S. Tsirkin: On Sat, Apr 30, 2011 at 10:40:07PM +0200, Stefan Weil wrote: QEMU sends frames smaller than 60 bytes to ethernet nics. This should be fixed in the networking code because normally such frames are rejected by real NICs and their emulations. To

[Qemu-devel] [Bug 778032] [NEW] qemu spinning on serial port writes

2011-05-05 Thread Matthew Bloch
Public bug reported: As originally found at http://www.mail- archive.com/k...@vger.kernel.org/msg08745.html from 3 years ago! Basically qemu seizes up in the event that the file descriptor for its emulated serial port has a full buffer, i.e. write() returns EAGAIN. For me, this happened when the

Re: [Qemu-devel] [PULL] spice: fix locking

2011-05-05 Thread Anthony Liguori
On 05/03/2011 10:06 AM, Gerd Hoffmann wrote: Hi, This is the current spice patch queue ready for pull. Patches have been posted a few days ago for review. A minor issue (leftover debug bit, spotten by Alon) has been fixed and the patch queue has been rebased to latest master, otherwise it

Re: [Qemu-devel] [PULL] piix, pci, msi, memory, vhost, eepro100

2011-05-05 Thread Anthony Liguori
On 05/05/2011 10:45 AM, Michael S. Tsirkin wrote: The following changes since commit d2d979c628e4b2c4a3cb71a31841875795c79043: NBD: Avoid leaking a couple of strings when the NBD device is closed (2011-05-03 11:29:21 +0200) are available in the git repository at:

Re: [Qemu-devel] [PULL] usb patch queue

2011-05-05 Thread Anthony Liguori
On 05/04/2011 10:41 AM, Gerd Hoffmann wrote: Hi, The USB patch queue is back! I'm still busy catching up with the backlog, I know I didn't pick up everything from the list yet. If in doubt it doesn't hurt to resend usb related patches, with me being Cc'ed. This pull brings old stuff, most

[Qemu-devel] [PATCH] target-arm: Fix VMLA, VMLS, VNMLS, VNMLA handling of NaNs

2011-05-05 Thread Peter Maydell
Correct handling of NaNs for VFP VMLA, VMLS, VNMLS and VNMLA requires that we implement the set of negations and additions specified by the ARM ARM; plausible looking simplifications like turning (-A + B) into (B - A) or computing (A + B) rather than (B + A) result in selecting the wrong NaN or

Re: [Qemu-devel] A Question

2011-05-05 Thread Rob Landley
On 05/05/2011 02:01 AM, Peter Maydell wrote: On 5 May 2011 00:16, Rob Landley r...@landley.net wrote: I note that I have a half-dozen prebuilt system images at http://landley.net/aboriginal/downloads/binaries and the build scripts and such are in the directories above that. I'm afraid I

Re: [Qemu-devel] A Question

2011-05-05 Thread Peter Maydell
On 5 May 2011 23:13, Rob Landley r...@landley.net wrote: On 05/05/2011 02:01 AM, Peter Maydell wrote: I'm afraid I don't entirely understand your file naming system there -- it seems to say which architecture the system images are for but not what board? Exactly.  An armv5l root filesystem

Re: [Qemu-devel] A Question

2011-05-05 Thread Rob Landley
On 05/05/2011 05:32 PM, Peter Maydell wrote: On 5 May 2011 23:13, Rob Landley r...@landley.net wrote: On 05/05/2011 02:01 AM, Peter Maydell wrote: I'm afraid I don't entirely understand your file naming system there -- it seems to say which architecture the system images are for but not what

Re: [Qemu-devel] Allow ARMv7M to be started without a kernel

2011-05-05 Thread Alexander Graf
On 05.05.2011, at 11:56, Peter Maydell wrote: On 5 May 2011 09:23, Ben Leslie be...@benno.id.au wrote: FWIW, the reason why I'm not using -kernel is that the current way the armv7m code works, it expects the provided kernel to be a full flash image including appropriate vector table, whereas

[Qemu-devel] Cannonical web qemu-doc.html location?

2011-05-05 Thread Rob Landley
The wiki's Documentation tab links to: http://qemu.weilnetz.de/qemu-doc.html But Google's first hit for qemu-doc.html is: http://wiki.qemu.org/download/qemu-doc.html Which exists but is not remotely the same file. Which is correct? Rob

Re: [Qemu-devel] A Question

2011-05-05 Thread Peter Maydell
On 6 May 2011 00:20, Rob Landley r...@landley.net wrote: On 05/05/2011 05:32 PM, Peter Maydell wrote: (ARM kernels having alas not yet got to the point where you can build a single kernel that will boot on everything.) Grant Likely's working on making it happen via device trees. Here's my

Re: [Qemu-devel] Allow ARMv7M to be started without a kernel

2011-05-05 Thread Rob Landley
On 05/05/2011 06:26 PM, Alexander Graf wrote: As an aside: I think QEMU should have an option which is just load a plain ELF or raw binary, with no funny Linux-kernel-specific behaviour rather than overloading -kernel to mean if it's a raw image it's Linux and if it's an ELF file it's not.

Re: [Qemu-devel] [PATCH] qemu-kvm: Add CPUID support for VIA CPU

2011-05-05 Thread BrillyWu
Hi, Jan Thank you very much for your advice. That's helpful for me. Hi, the subject's tag (qemu-kvm) is misleading. This is actually targeting the uq/master patch queue, i.e. the upstream kvm staging area. If I want to submit a patch for the qemu-kvm-git, should I use

Re: [Qemu-devel] Canonical web qemu-doc.html location?

2011-05-05 Thread Stefan Weil
Am 06.05.2011 01:29, schrieb Rob Landley: The wiki's Documentation tab links to: http://qemu.weilnetz.de/qemu-doc.html But Google's first hit for qemu-doc.html is: http://wiki.qemu.org/download/qemu-doc.html Which exists but is not remotely the same file. Which is correct? Rob Both were