Re: [Qemu-devel] [PATCH v4 11/11] Exynos4210: added display controller implementation

2011-12-22 Thread Dmitry Solodkiy
Dear Dmitry, Thank you for feedback. As you probably know, there is some decision making process in large corporations. We'll discuss naming conventions on project meeting, make proposal, send it to peers, get approve and apply. Regards, Dmitry Solodkiy, Mobile SW PL, Advanced

[Qemu-devel] [PATCH] w32: Build windows and console executables

2011-12-22 Thread Stefan Weil
System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. Signed-off-by: Stefan Weil s...@weilnetz.de --- Makefile.target | 14 ++ 1 files changed, 14

Re: [Qemu-devel] Seem thread Competition

2011-12-22 Thread Alon Levy
On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote: Hi, I meet the err: # virsh dumpxml 63 error: internal error cannot parse json {timestamp: {seconds: 1323332828, microseco{timest35p:39}, econds:PICE_D 1CO3233TE828, Dmicrosec dsdata52}, : {ser: SPrCE_DISONNEC{ED, port: {serve :

Re: [Qemu-devel] [PATCH] w32: Build windows and console executables

2011-12-22 Thread TeLeMan
On Thu, Dec 22, 2011 at 16:03, Stefan Weil s...@weilnetz.de wrote: System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. Signed-off-by: Stefan Weil

Re: [Qemu-devel] [PATCH v3 1/6] cutils: extract buffer_is_zero() from qemu-img.c

2011-12-22 Thread Stefan Hajnoczi
On Wed, Dec 21, 2011 at 09:43:55AM -0700, Eric Blake wrote: On 12/21/2011 09:00 AM, Stefan Hajnoczi wrote: The qemu-img.c:is_not_zero() function checks if a buffer contains all zeroes. This function will come in handy for zero-detection in the block layer, so clean it up and move it to

Re: [Qemu-devel] [PATCH v3 2/6] block: add .bdrv_co_write_zeroes() interface

2011-12-22 Thread Stefan Hajnoczi
On Wed, Dec 21, 2011 at 05:50:32PM +0100, Christoph Hellwig wrote: On Wed, Dec 21, 2011 at 04:00:36PM +, Stefan Hajnoczi wrote: The ability to zero regions of an image file is a useful primitive for higher-level features such as image streaming or zero write detection. Image formats

Re: [Qemu-devel] Seem thread Competition

2011-12-22 Thread ZhouPeng
On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote: Hi, I meet the err: # virsh dumpxml 63 error: internal error cannot parse json {timestamp: {seconds: 1323332828, microseco{timest35p:39}, econds:PICE_D 1CO3233TE828,

[Qemu-devel] usb-ohci: td.cbp incorrectly updated near page end

2011-12-22 Thread Andriy Gapon
The current code that updates the cbp value after a transfer looks like this: td.cbp += ret; if ((td.cbp 0xfff) + ret 0xfff) { handle page overflow because the 'ret' value is effectively added twice the check may fire too early when the overflow hasn't happened yet. Below is one of the

Re: [Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails

2011-12-22 Thread Stefan Hajnoczi
On Wed, Dec 21, 2011 at 5:42 PM, Dr. David Alan Gilbert 883...@bugs.launchpad.net wrote: Attached is a 1st cut of a makecontext/setcontext/getcontext/swapcontext set for ARM - not ready to go into libc yet; currently it builds standalone and links (and passes) with a test of mine.   Next stop

Re: [Qemu-devel] VMDK: footer must take precedence over header when present

2011-12-22 Thread Stefan Hajnoczi
On Wed, Dec 21, 2011 at 11:34 PM, B Gordon bbgord...@fastmail.fm wrote: VMDK: footer must take precedence over header when present In e.g. streamOptimized VMDKs from VSphere 4 with this flag set the header l1_table is bogus and only the footer l1_table can be used to correctly read extents.

Re: [Qemu-devel] Seem thread Competition

2011-12-22 Thread Alon Levy
On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote: On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote: Hi, I meet the err: # virsh dumpxml 63 error: internal error cannot parse json {timestamp: {seconds:

Re: [Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-22 Thread Avi Kivity
On 12/21/2011 11:10 PM, Peter Maydell wrote: On 21 December 2011 16:37, Mark Langsdorf mark.langsd...@calxeda.com wrote: On 12/20/2011 01:48 PM, Peter Maydell wrote: This commit leaves the register with a reset value of 0, which isn't right (we only implement A9MP, not A9UP, so the reset

[Qemu-devel] [PATCH v2] w32: Build windows and console executables

2011-12-22 Thread Stefan Weil
System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. v2: This version uses QEMU_PROGW / QEMU_PROG instead of QEMU_PROG / QEMU_PROGC. Signed-off-by: Stefan Weil

[Qemu-devel] [PATCH] configure: CONFIG_QEMU_INTERP_PREFIX only for user mode

2011-12-22 Thread Stefan Weil
Signed-off-by: Stefan Weil s...@weilnetz.de --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 640e815..af19391 100755 --- a/configure +++ b/configure @@ -3395,7 +3395,6 @@ echo # Automatically generated by configure - do not

[Qemu-devel] [PATCH 0/3] Trivial patches for 20 to 22 December 2011

2011-12-22 Thread Stefan Hajnoczi
The last trivial-patches pull request before I head off on vacation. I'll be back on the 30th of December. Happy holidays! The following changes since commit 03ecd2c80a64d030a22fe67cc7a60f24e17ff211: virtio-serial-bus: Ports are expected to implement 'have_data' callback (2011-12-21

[Qemu-devel] [PATCH 1/3] qemu-options.hx: fix tls-channel help text

2011-12-22 Thread Stefan Hajnoczi
From: Alon Levy al...@redhat.com Remove the default compiled out tunnel channel, add the always available cursor channel. Optimally the man page would depend on compiled in options, but that's harder to do. RHBZ: 688586 Acked-by: Gerd Hoffmann kra...@redhat.com Signed-off-by: Alon Levy

[Qemu-devel] [PATCH 2/3] Strip trailing '\n' from error_report()'s first argument (again)

2011-12-22 Thread Stefan Hajnoczi
From: Markus Armbruster arm...@redhat.com Commit 6daf194d got rid of them, but Hans and Gerd added some more lately. Tracked down with this Coccinelle semantic patch: @r@ expression fmt; position p; @@ error_report(fmt, ...)@p @script:python@ fmt r.fmt; p r.p; @@ if \\n in

[Qemu-devel] [PATCH 3/3] scsi virtio-blk usb-msd: Clean up device init error messages

2011-12-22 Thread Stefan Hajnoczi
From: Markus Armbruster arm...@redhat.com Replace error_report(DEVICE-NAME: MESSAGE); by just error_report(MESSAGE); in block device init functions. DEVICE-NAME is bogus in some cases: it's scsi-disk for device scsi-hd and scsi-cd, virtio-blk-pci for virtio-blk-s390, and usb-msd for

Re: [Qemu-devel] [Spice-devel] Seem thread Competition

2011-12-22 Thread Alon Levy
On Thu, Dec 22, 2011 at 10:00:18AM +, Alon Levy wrote: On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote: On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote: Hi, I meet the err: # virsh dumpxml

Re: [Qemu-devel] Seem thread Competition

2011-12-22 Thread ZhouPeng
On Thu, Dec 22, 2011 at 6:00 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote: On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote: Hi, I meet the err: # virsh

[Qemu-devel] [PATCH 3/5] usb-redir: Pre-fill our isoc input buffer before sending pkts to the host

2011-12-22 Thread Hans de Goede
This is something which should have been done from the first version of usb-redir, but wasn't. Signed-off-by: Hans de Goede hdego...@redhat.com --- usb-redir.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/usb-redir.c b/usb-redir.c index

[Qemu-devel] [PATCH 2/5] usb-redir: Dynamically adjust iso buffering size based on ep interval

2011-12-22 Thread Hans de Goede
Note the bufpq_target_size id stored in the endpoint info struct, even though it only used once. This is done because it will be referenced from other code in a follow up patch. Signed-off-by: Hans de Goede hdego...@redhat.com --- usb-redir.c | 52

[Qemu-devel] [PATCH 1/5] usb-redir: Clear iso / irq error when stopping the stream

2011-12-22 Thread Hans de Goede
And ignore status messages from the client which arrive after stream stop (the stream stop send to the client and an error status reported by the client my cross each other due to network latency). Signed-off-by: Hans de Goede hdego...@redhat.com --- usb-redir.c |6 -- 1 files changed, 4

Re: [Qemu-devel] memory: Why subpage is introduced?

2011-12-22 Thread Zhi Yong Wu
On Wed, Dec 21, 2011 at 9:30 PM, Avi Kivity a...@redhat.com wrote: On 12/21/2011 02:09 PM, Zhi Yong Wu wrote: HI, For memory management, i have several questions as below: 1.) Why is subpage introduced? what is its goal? A TLB entry spans one page; a subpage is a way of dispatching

[Qemu-devel] [PATCH 5/5] usb-redir: Improve some debugging messages

2011-12-22 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- usb-redir.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/usb-redir.c b/usb-redir.c index 4fada22..1289506 100644 --- a/usb-redir.c +++ b/usb-redir.c @@ -404,7 +404,8 @@ static int

[Qemu-devel] [PATCH 4/5] usb-redir: Try to keep our buffer size near the target size

2011-12-22 Thread Hans de Goede
Before this patch we would allow the (iso) buffer to grow unlimited (and it would under certain circumstances) leading to way too high latencies for iso data streams. Signed-off-by: Hans de Goede hdego...@redhat.com --- usb-redir.c | 30 +++--- 1 files changed, 27

Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support.

2011-12-22 Thread Peter Maydell
On 22 December 2011 07:03, Evgeny Voevodin e.voevo...@samsung.com wrote: Second GIC (external) is represented as exynos4210.gic with splitted mapping for CPU (0x1048) and Distributer (0x1049) (we used arm_gic.c availability to split CPU and Distributer memories). The reason for

Re: [Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-22 Thread Peter Maydell
On 22 December 2011 10:14, Avi Kivity a...@redhat.com wrote: On 12/21/2011 11:10 PM, Peter Maydell wrote: Avi: is there a way for a device (sysbus device in this case) to find out for one of its memory regions where it has been mapped in the address space? Where and if. The context here is

Re: [Qemu-devel] memory: Why subpage is introduced?

2011-12-22 Thread Avi Kivity
On 12/22/2011 01:24 PM, Zhi Yong Wu wrote: 2.) How to render MemoryRegion into one disjoint flatrange list? That rendering function is a bit difficult to understand. Can anyone simply explain it? What exactly don't you understand? 1.) e.g. some fields such as offset_in_region,

Re: [Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-22 Thread Avi Kivity
On 12/22/2011 02:37 PM, Peter Maydell wrote: On 22 December 2011 10:14, Avi Kivity a...@redhat.com wrote: On 12/21/2011 11:10 PM, Peter Maydell wrote: Avi: is there a way for a device (sysbus device in this case) to find out for one of its memory regions where it has been mapped in the

Re: [Qemu-devel] [PATCH 20/23] vhost: avoid cpu_get_physical_page_desc()

2011-12-22 Thread Michael S. Tsirkin
On Mon, Dec 19, 2011 at 04:13:41PM +0200, Avi Kivity wrote: @@ -871,7 +899,10 @@ void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev) hdev-vqs + i, i); } -vhost_sync_dirty_bitmap(hdev, 0,

Re: [Qemu-devel] [PATCH 14/23] vhost: convert to MemoryListener API

2011-12-22 Thread Michael S. Tsirkin
On Mon, Dec 19, 2011 at 04:13:35PM +0200, Avi Kivity wrote: +static void vhost_log_start(MemoryListener *listener, +MemoryRegionSection *section) +{ +/* FIXME: implement */ +} + +static void vhost_log_stop(MemoryListener *listener, +

Re: [Qemu-devel] [PATCH 20/23] vhost: avoid cpu_get_physical_page_desc()

2011-12-22 Thread Avi Kivity
On 12/22/2011 02:48 PM, Michael S. Tsirkin wrote: On Mon, Dec 19, 2011 at 04:13:41PM +0200, Avi Kivity wrote: @@ -871,7 +899,10 @@ void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev) hdev-vqs + i, i); }

Re: [Qemu-devel] [Spice-devel] Seem thread Competition

2011-12-22 Thread ZhouPeng
On Thu, Dec 22, 2011 at 6:53 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 10:00:18AM +, Alon Levy wrote: On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote: On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy al...@redhat.com wrote: On Thu, Dec 22, 2011 at 10:13:50AM

Re: [Qemu-devel] [PATCH 14/23] vhost: convert to MemoryListener API

2011-12-22 Thread Avi Kivity
On 12/22/2011 02:50 PM, Michael S. Tsirkin wrote: On Mon, Dec 19, 2011 at 04:13:35PM +0200, Avi Kivity wrote: +static void vhost_log_start(MemoryListener *listener, +MemoryRegionSection *section) +{ +/* FIXME: implement */ +} + +static void

Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support.

2011-12-22 Thread Evgeny Voevodin
On 12/22/2011 04:30 PM, Peter Maydell wrote: On 22 December 2011 07:03, Evgeny Voevodine.voevo...@samsung.com wrote: Second GIC (external) is represented as exynos4210.gic with splitted mapping for CPU (0x1048) and Distributer (0x1049) (we used arm_gic.c availability to split CPU and

Re: [Qemu-devel] [PATCH 14/23] vhost: convert to MemoryListener API

2011-12-22 Thread Michael S. Tsirkin
On Thu, Dec 22, 2011 at 02:50:27PM +0200, Avi Kivity wrote: On 12/22/2011 02:50 PM, Michael S. Tsirkin wrote: On Mon, Dec 19, 2011 at 04:13:35PM +0200, Avi Kivity wrote: +static void vhost_log_start(MemoryListener *listener, +MemoryRegionSection *section) +{

Re: [Qemu-devel] [PATCH 14/23] vhost: convert to MemoryListener API

2011-12-22 Thread Avi Kivity
On 12/22/2011 02:57 PM, Michael S. Tsirkin wrote: On Thu, Dec 22, 2011 at 02:50:27PM +0200, Avi Kivity wrote: On 12/22/2011 02:50 PM, Michael S. Tsirkin wrote: On Mon, Dec 19, 2011 at 04:13:35PM +0200, Avi Kivity wrote: +static void vhost_log_start(MemoryListener *listener, +

[Qemu-devel] [PATCH] virtio-blk: add virtio_blk_handle_read trace event

2011-12-22 Thread Stefan Hajnoczi
There already exists a virtio_blk_handle_write trace event as well as completion events. Add the virtio_blk_handle_read event so it's easy to trace virtio-blk requests for both read and write operations. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/virtio-blk.c |2 ++

Re: [Qemu-devel] [PATCH] virtio-blk: add virtio_blk_handle_read trace event

2011-12-22 Thread Paolo Bonzini
On 12/22/2011 02:17 PM, Stefan Hajnoczi wrote: There already exists a virtio_blk_handle_write trace event as well as completion events. Add the virtio_blk_handle_read event so it's easy to trace virtio-blk requests for both read and write operations. Signed-off-by: Stefan

[Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Anthony Liguori
This is a pretty simple test that just confirms that virtio-serial shows up and is writable. It also tests the alias for virtio-serial-pci. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/virtio-serial.sh | 52 1 files changed, 52

Re: [Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-22 Thread Anthony Liguori
On 12/22/2011 06:43 AM, Avi Kivity wrote: On 12/22/2011 02:37 PM, Peter Maydell wrote: On 22 December 2011 10:14, Avi Kivitya...@redhat.com wrote: On 12/21/2011 11:10 PM, Peter Maydell wrote: Avi: is there a way for a device (sysbus device in this case) to find out for one of its memory

Re: [Qemu-devel] [RFC PATCH] Exporting Guest RAM information for NUMA binding

2011-12-22 Thread Marcelo Tosatti
On Thu, Dec 01, 2011 at 06:40:31PM +0100, Peter Zijlstra wrote: On Wed, 2011-11-23 at 16:03 +0100, Andrea Arcangeli wrote: snip From what I gather what you propose is to periodically unmap all user memory (or map it !r !w !x, which is effectively the same) and take the fault. This fault will

Re: [Qemu-devel] [RFC PATCH] Exporting Guest RAM information for NUMA binding

2011-12-22 Thread Marcelo Tosatti
On Thu, Dec 01, 2011 at 06:40:31PM +0100, Peter Zijlstra wrote: On Wed, 2011-11-23 at 16:03 +0100, Andrea Arcangeli wrote: Hi! On Mon, Nov 21, 2011 at 07:51:21PM -0600, Anthony Liguori wrote: Fundamentally, the entity that should be deciding what memory should be present and

Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support.

2011-12-22 Thread Peter Maydell
On 22 December 2011 12:50, Evgeny Voevodin e.voevo...@samsung.com wrote: Do you mean to use s-gic.cpuiomem[NCPU+1] as in a9mpcore.c a9mp_priv_init() done? It depends what you want. If you need a memory region which behaves like CPU interface for whatever the core making this read/write is, that

Re: [Qemu-devel] [PATCH 3/9] arm: add missing v7 cp15 registers

2011-12-22 Thread Peter Maydell
On 22 December 2011 14:25, Anthony Liguori anth...@codemonkey.ws wrote: First, we need to actually model the CPUs.  The general trouble with that today is that everything needs to live on a bus after we get QOM merged, that requirement will be relaxed. Once the CPUs are objects, they can

Re: [Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Alex Bradbury
On 22 December 2011 14:23, Anthony Liguori aligu...@us.ibm.com wrote: This is a pretty simple test that just confirms that virtio-serial shows up and is writable.  It also tests the alias for virtio-serial-pci. Signed-off-by: Anthony Liguori aligu...@us.ibm.com ---  tests/virtio-serial.sh

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-22 Thread Anthony Liguori
On 12/20/2011 11:13 AM, Corey Bryant wrote: On 12/19/2011 06:15 PM, Anthony Liguori wrote: On 12/19/2011 04:55 PM, Corey Bryant wrote: diff --git a/net.c b/net.c index f7bebf8..9296224 100644 --- a/net.c +++ b/net.c @@ -952,6 +952,14 @@ static const struct { .type = QEMU_OPT_STRING, .help

Re: [Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Eric Blake
On 12/22/2011 08:46 AM, Alex Bradbury wrote: + +in_host() { +tmpchr=$tmpdir/chr.log By far the most common error likely to appear in any of these test scripts is insufficient shell quoting causing e.g. breakages when the scripts are run from a directory with spaces. Shell assignments

Re: [Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Alex Bradbury
On 22 December 2011 15:58, Eric Blake ebl...@redhat.com wrote: Shell assignments do not need quoting, since they are not subject to argument splitting or filename expansion in the first place. You're right, that was an incorrectly chosen example. Blindly requiring double-quoting of all shell

Re: [Qemu-devel] [PATCH] qemu-test: add virtio-serial test

2011-12-22 Thread Anthony Liguori
On 12/22/2011 09:46 AM, Alex Bradbury wrote: On 22 December 2011 14:23, Anthony Liguorialigu...@us.ibm.com wrote: This is a pretty simple test that just confirms that virtio-serial shows up and is writable. It also tests the alias for virtio-serial-pci. Signed-off-by: Anthony

Re: [Qemu-devel] [RFC PATCH] Exporting Guest RAM information for NUMA binding

2011-12-22 Thread Anthony Liguori
On 12/22/2011 05:01 AM, Marcelo Tosatti wrote: On Thu, Dec 01, 2011 at 06:40:31PM +0100, Peter Zijlstra wrote: No virt is crap, it needs to die, its horrid, and any solution aimed squarely at virt only is shit and not worth considering, that simple. Removing this phrase from context (feel

Re: [Qemu-devel] [PATCH 01/27] qom: add the base Object class

2011-12-22 Thread Kevin O'Connor
On Wed, Dec 21, 2011 at 08:35:16AM -0600, Anthony Liguori wrote: On 12/21/2011 07:35 AM, Paolo Bonzini wrote: What's the need for Type? You can use simply the TypeImpl * and drop type_get_instance. Outside object.h it can be an opaque pointer. It's a bit nicer for type_register to return a

Re: [Qemu-devel] [PATCH 01/27] qom: add the base Object class

2011-12-22 Thread Anthony Liguori
On 12/22/2011 11:25 AM, Kevin O'Connor wrote: On Wed, Dec 21, 2011 at 08:35:16AM -0600, Anthony Liguori wrote: On 12/21/2011 07:35 AM, Paolo Bonzini wrote: What's the need for Type? You can use simply the TypeImpl * and drop type_get_instance. Outside object.h it can be an opaque pointer.

Re: [Qemu-devel] [PATCH 01/27] qom: add the base Object class

2011-12-22 Thread Kevin O'Connor
On Thu, Dec 22, 2011 at 11:41:08AM -0600, Anthony Liguori wrote: On 12/22/2011 11:25 AM, Kevin O'Connor wrote: On Wed, Dec 21, 2011 at 08:35:16AM -0600, Anthony Liguori wrote: I used a symbolic type name to avoid the problem of dependencies. In order to create a type in gobject, you have to

[Qemu-devel] [PATCH v2 4/9] arm: add dummy gic security registers

2011-12-22 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Implement handling for the RAZ/WI gic security registers. Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v1 Moved handling back inside the 0-0x100 block Added

[Qemu-devel] [PATCH v2 2/9] arm: Set frequencies for arm_timer

2011-12-22 Thread Mark Langsdorf
Use qdev properties to allow board modelers to set the frequencies for the sp804 timer. Each of the sp804's timers can have an individual frequency. The timers default to 1MHz. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v1 Simplified multiple timer frequency

[Qemu-devel] [PATCH v2 0/9] various ARM fixes

2011-12-22 Thread Mark Langsdorf
This is a collection of fixes and additions to the models for various ARM devices. These changes are needed to support the forthcoming Calxeda Highbank SoC model. Makefile.target |2 + hw/a9mpcore.c | 36 - hw/arm_gic.c|6 + hw/arm_l2x0.c | 173

[Qemu-devel] [PATCH 6/9] ahci: add support for non-PCI based controllers

2011-12-22 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Add support for ahci on sysbus. Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- hw/ide/ahci.c | 35 +++ 1 files changed, 35 insertions(+), 0 deletions(-)

[Qemu-devel] [PATCH v2 8/9] Add xgmac ethernet model

2011-12-22 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring

[Qemu-devel] [PATCH v2 1/9] arm: add missing scu registers

2011-12-22 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Add power control and non-secure access ctrl registers Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v1: Added VMState support Checked alignment of writes to

[Qemu-devel] [PATCH 9/9] arm: increase a9mp interrupts to 160

2011-12-22 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- hw/a9mpcore.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/a9mpcore.c b/hw/a9mpcore.c index 875ae98..93b0498

[Qemu-devel] [PATCH v2 3/9] arm: add dummy v7 cp15 config_base_register

2011-12-22 Thread Mark Langsdorf
Add a cp15 config_base_register that currently defaults to 0. After the QOM CPU support is added, the value will be properly set to the periphal base value. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v1 renamed the register added comments about how

[Qemu-devel] [PATCH 5/9] ahci: convert ahci_reset to use AHCIState

2011-12-22 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Use AHCIState instead of AHCIPCIState so the function can be used for non-PCI based AHCI controllers. Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- hw/ide/ahci.c | 14 +++---

Re: [Qemu-devel] [RFC PATCH] Exporting Guest RAM information for NUMA binding

2011-12-22 Thread Peter Zijlstra
On Thu, 2011-12-22 at 09:01 -0200, Marcelo Tosatti wrote: No virt is crap, it needs to die, its horrid, and any solution aimed squarely at virt only is shit and not worth considering, that simple. Removing this phrase from context (feel free to object on that basis to the following

[Qemu-devel] [PATCH v2 7/9] add L2x0/PL310 cache controller device

2011-12-22 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com This is just a dummy device for ARM L2 cache controllers, based on the pl310. The cache type parameter can be defined by a property value and has a meaningful default. Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf

Re: [Qemu-devel] [PATCH 01/27] qom: add the base Object class

2011-12-22 Thread Anthony Liguori
On 12/22/2011 12:00 PM, Kevin O'Connor wrote: On Thu, Dec 22, 2011 at 11:41:08AM -0600, Anthony Liguori wrote: On 12/22/2011 11:25 AM, Kevin O'Connor wrote: On Wed, Dec 21, 2011 at 08:35:16AM -0600, Anthony Liguori wrote: I used a symbolic type name to avoid the problem of dependencies. In

[Qemu-devel] [PATCH 2/5] kvm: x86: Avoid runtime allocation of xsave buffer

2011-12-22 Thread Marcelo Tosatti
From: Jan Kiszka jan.kis...@siemens.com Keep a per-VCPU xsave buffer for kvm_put/get_xsave instead of continuously allocating and freeing it on state sync. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/cpu.h |3 ++-

[Qemu-devel] [PATCH 5/5] enable architectural PMU cpuid leaf for kvm

2011-12-22 Thread Marcelo Tosatti
From: Gleb Natapov g...@redhat.com Signed-off-by: Gleb Natapov g...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/cpuid.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index

[Qemu-devel] [PATCH 3/5] kvm: x86: Drop redundant apic base and tpr update from kvm_get_sregs

2011-12-22 Thread Marcelo Tosatti
From: Jan Kiszka jan.kis...@siemens.com The latter was already commented out, the former is redundant as well. We always get the latest changes after return from the guest via kvm_arch_post_run. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com

Re: [Qemu-devel] [PATCH 01/27] qom: add the base Object class

2011-12-22 Thread Paolo Bonzini
On 12/22/2011 06:25 PM, Kevin O'Connor wrote: Why not declare types with something like the following: TypeInfo my_device_info = { .name = my-device, .parentinfo =device_info, .instance_size = sizeof(MyDevice), }; That is, instead of looking up the TypeImpl via a string, lookup

[Qemu-devel] [PATCH 4/5] Set numa topology for max_cpus

2011-12-22 Thread Marcelo Tosatti
From: Vasilis Liaskovitis vasilis.liaskovi...@profitbricks.com qemu-kvm passes numa/SRAT topology information for smp_cpus to SeaBIOS. However SeaBIOS always expects to setup max_cpus number of SRAT cpu entries (MaxCountCPUs variable in build_srat function of Seabios). When qemu-kvm runs with

Re: [Qemu-devel] [RFC PATCH] Exporting Guest RAM information for NUMA binding

2011-12-22 Thread Marcelo Tosatti
On Thu, Dec 22, 2011 at 11:13:15AM -0600, Anthony Liguori wrote: On 12/22/2011 05:01 AM, Marcelo Tosatti wrote: On Thu, Dec 01, 2011 at 06:40:31PM +0100, Peter Zijlstra wrote: No virt is crap, it needs to die, its horrid, and any solution aimed squarely at virt only is shit and not worth

[Qemu-devel] Lingerie Sale - Limited Time Offer

2011-12-22 Thread Hosiery Street
This email newsletter was sent to you in graphical HTML format. If you're seeing this version, your email program prefers plain text emails. You can read the original version online: http://ymlp223.net/zTi0Mw

Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI

2011-12-22 Thread ronnie sahlberg
Hi, You mean using the '-S' mode and setting the key after qemu has initialized all devices but before it actually starts booting the guest? That would not be easy and would probably require some intrusive in qemu itself that might affect other device types, so I am unsure. The difference

[Qemu-devel] [PATCH 0/5] [PULL] qemu-kvm.git uq/master queue

2011-12-22 Thread Marcelo Tosatti
The following changes since commit 03ecd2c80a64d030a22fe67cc7a60f24e17ff211: virtio-serial-bus: Ports are expected to implement 'have_data' callback (2011-12-21 15:00:29 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master Gleb Natapov

[Qemu-devel] [PATCH 1/5] kvm: x86: Use symbols for all xsave field

2011-12-22 Thread Marcelo Tosatti
From: Jan Kiszka jan.kis...@siemens.com Field 0 (FCW+FSW) and 1 (FTW+FOP) were hard-coded so far. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/kvm.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-)

Re: [Qemu-devel] [PATCH] hw/9pfs: Add new security model mapped-file.

2011-12-22 Thread Alex Bradbury
On 19 December 2011 13:50, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This enable us to do passthrough equivalent security model on NFS directory. NFS server mostly do root squashing and don't support xattr. Hence we cannot

[Qemu-devel] [PATCH] PPC: Add description for the Freescale e500mc core.

2011-12-22 Thread Scott Wood
From: Varun Sethi varun.se...@freescale.com This core is found on chips such as p4080, p3041, p2040, and p5020. More needs to be done to make this viable for TCG (such as missing SPRs and instructions), but this suffices to get KVM running with appropriate kernel support. Signed-off-by: Varun

[Qemu-devel] [PATCH] Fix KVM dirty logging with 32-bit qemu 32-bit physical addresses

2011-12-22 Thread Benjamin Herrenschmidt
We were using the wrong types in kvm_get_dirty_pages_log_range(). This would break dirty logging if the region to log resides at a physical address above 32-bit, which can happen with 64-bit guest but also with 32-bit guests that support 32-bit physical addresses such as ppc BookE.

Re: [Qemu-devel] [PATCH v2] w32: Build windows and console executables

2011-12-22 Thread TeLeMan
On Thu, Dec 22, 2011 at 18:20, Stefan Weil s...@weilnetz.de wrote: System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. v2: This version uses QEMU_PROGW /

[Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread ¤終於aware
Hi, Is anyone clear about the format of qemu file for savevm or loadvm? bruce

[Qemu-devel] [Bug 907994] [NEW] converting VDI to IMG

2011-12-22 Thread Girish
Public bug reported: I'm so close to moving away from VrtualBox to using Qemu. However I've run into some issues converting my existing virtual machine from VirtualBox to Qemu. I'm running Qemu on Fedora 16. I took my windows_xp.vdi and tried to convert it to qemu. The conversion goes well

Re: [Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread Shu Ming
Do you mean the file format? qcow2, qed, raw? Or the content layout in the file image? On 2011-12-23 13:17, ¤終於aware wrote: Hi, Is anyone clear about the format of qemu file for savevm or loadvm? bruce -- Shu Mingshum...@linux.vnet.ibm.com IBM China Systems and Technology Laboratory

Re: [Qemu-devel] [PATCH] hw/9pfs: Add new security model mapped-file.

2011-12-22 Thread Aneesh Kumar K.V
On Thu, 22 Dec 2011 21:45:51 +, Alex Bradbury a...@asbradbury.org wrote: On 19 December 2011 13:50, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This enable us to do passthrough equivalent security model on NFS

Re: [Qemu-devel] [PATCH] spapr: Add support for -vga option

2011-12-22 Thread Benjamin Herrenschmidt
On Wed, 2011-12-14 at 20:22 +1100, Benjamin Herrenschmidt wrote: The -vga option is a handy high level option for instanciating things automatically. This adds support for it to the spapr (aka pseries) machine. Also instanciate the USB keyboard and mouse when that option is used (you can

Re: [Qemu-devel] memory: Why subpage is introduced?

2011-12-22 Thread Zhi Yong Wu
anyway, thanks. On Thu, Dec 22, 2011 at 8:38 PM, Avi Kivity a...@redhat.com wrote: On 12/22/2011 01:24 PM, Zhi Yong Wu wrote: 2.) How to render MemoryRegion into one disjoint flatrange list? That rendering function is a bit difficult to understand. Can anyone simply explain it? What

Re: [Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread 陳韋任
On Fri, Dec 23, 2011 at 01:32:50PM +0800, Shu Ming wrote: Do you mean the file format? qcow2, qed, raw? Or the content layout in the file image? On 2011-12-23 13:17, ¤終於aware wrote: Hi, Is anyone clear about the format of qemu file for savevm or loadvm?

Re: [Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread 陳韋任
savevm requires image's format to be qcow2. You can check http://en.wikipedia.org/wiki/Qcow for more information. Plus this, http://www.linux-kvm.org/wiki/images/6/63/2011-forum-qcow2.pdf HTH, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science,

Re: [Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread Dong Xu Wang
You could have a look at docs/specs directory. 2011/12/23 陳韋任 che...@iis.sinica.edu.tw On Fri, Dec 23, 2011 at 01:32:50PM +0800, Shu Ming wrote: Do you mean the file format? qcow2, qed, raw? Or the content layout in the file image? On 2011-12-23 13:17, ¤終於aware wrote: Hi, Is anyone

Re: [Qemu-devel] OEM Windows in Qemu

2011-12-22 Thread inbox
My patch does not produce any SLIC at all. The instructions mentions using SLIC from your machine - my patch is just a way to _embed_ a given data into VM, not a way to produce anything. You get in your VM what you have outside, either in a file or in your own BIOS, depending on where you took

Re: [Qemu-devel] OEM Windows in Qemu

2011-12-22 Thread ronnie sahlberg
Why not just buy a non-OEM version ? They are surely not tied to a specific piece of hardware and its licence should allow to run on arbitrary PC HW you happen to want to install/run it on once activated On Fri, Dec 23, 2011 at 5:11 PM, in...@expertcomputerrepair.com wrote: My patch does