Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU

2012-01-01 Thread Avi Kivity
On 12/29/2011 11:10 PM, Peter Maydell wrote: Even if that turns out to be the case, it's fine. Better to have a few good devices than dozens of bad ones. This is easier to say on the x86 side of the fence, since most of the devices you need are already in the codebase and nobody is

Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration

2012-01-01 Thread Orit Wasserman
On 12/30/2011 12:39 AM, Anthony Liguori wrote: On 12/28/2011 07:25 PM, Isaku Yamahata wrote: Intro = This patch series implements postcopy live migration.[1] As discussed at KVM forum 2011, dedicated character device is used for distributed shared memory between migration source and

Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration

2012-01-01 Thread Dor Laor
On 12/30/2011 12:39 AM, Anthony Liguori wrote: On 12/28/2011 07:25 PM, Isaku Yamahata wrote: Intro = This patch series implements postcopy live migration.[1] As discussed at KVM forum 2011, dedicated character device is used for distributed shared memory between migration source and

Re: [Qemu-devel] Better qemu/kvm defaults (was Re: [RFC PATCH 0/4] Gang scheduling in CFS)

2012-01-01 Thread Dor Laor
On 12/29/2011 06:16 PM, Anthony Liguori wrote: On 12/29/2011 10:07 AM, Dor Laor wrote: On 12/26/2011 11:05 AM, Avi Kivity wrote: On 12/26/2011 05:14 AM, Nikunj A Dadhania wrote: btw you can get an additional speedup by enabling x2apic, for default_send_IPI_mask_logical(). In the host?

Re: [Qemu-devel] Compiling without python?

2012-01-01 Thread Michael S. Tsirkin
On Fri, Dec 30, 2011 at 11:36:53PM +0100, Sebastian Herbszt wrote: Sebastian Herbszt wrote: Is it still possible to compile without python? python /v1.0-267-gda5361c/scripts/qapi-commands.py -m -o . /bin/sh: python: command not found make: *** [qmp-commands.h] Error 127 Sebastian Care

Re: [Qemu-devel] Better qemu/kvm defaults (was Re: [RFC PATCH 0/4] Gang scheduling in CFS)

2012-01-01 Thread Ronen Hod
On 01/01/2012 12:16 PM, Dor Laor wrote: On 12/29/2011 06:16 PM, Anthony Liguori wrote: On 12/29/2011 10:07 AM, Dor Laor wrote: On 12/26/2011 11:05 AM, Avi Kivity wrote: On 12/26/2011 05:14 AM, Nikunj A Dadhania wrote: btw you can get an additional speedup by enabling x2apic, for

Re: [Qemu-devel] [PATCH 1/4] rtc: fix 12-hour mode

2012-01-01 Thread Avi Kivity
On 11/21/2011 08:00 PM, Paolo Bonzini wrote: Hours in 12-hour mode are in the 1-12 range, not 0-11. @@ -320,7 +324,8 @@ static void rtc_copy_date(RTCState *s) s-cmos_data[RTC_HOURS] = rtc_to_bcd(s, tm-tm_hour); } else { /* 12 hour format */ -

Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration

2012-01-01 Thread Stefan Hajnoczi
On Sun, Jan 1, 2012 at 9:43 AM, Orit Wasserman owass...@redhat.com wrote: On 12/30/2011 12:39 AM, Anthony Liguori wrote: On 12/28/2011 07:25 PM, Isaku Yamahata wrote: Intro = This patch series implements postcopy live migration.[1] As discussed at KVM forum 2011, dedicated character

Re: [Qemu-devel] [PATCH v6] block:add-cow file format

2012-01-01 Thread Stefan Hajnoczi
On Sat, Dec 31, 2011 at 9:17 AM, Dong Xu Wang wdon...@linux.vnet.ibm.com wrote: On Fri, Dec 30, 2011 at 22:09, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Dec 29, 2011 at 05:36:59PM +0800, Dong Xu Wang wrote: +    ret = bdrv_file_open(backing_bs, bs-backing_file, 0); +    if (ret 0) {

[Qemu-devel] [PATCH] Fix wrong region_offset when overlaying a page with another

2012-01-01 Thread Avi Kivity
cpu_register_physical_memory_log() does not update region_offset if a page was previously registered for the same address. This could cause mmio accesses going to the wrong place, by using the old region_offset. Signed-off-by: Avi Kivity a...@redhat.com --- Once qemu-test is merged, remind me

Re: [Qemu-devel] [PATCH 1/4] rtc: fix 12-hour mode

2012-01-01 Thread Paolo Bonzini
On 01/01/2012 03:53 PM, Avi Kivity wrote: On 11/21/2011 08:00 PM, Paolo Bonzini wrote: Hours in 12-hour mode are in the 1-12 range, not 0-11. @@ -320,7 +324,8 @@ static void rtc_copy_date(RTCState *s) s-cmos_data[RTC_HOURS] = rtc_to_bcd(s, tm-tm_hour); } else { /* 12

Re: [Qemu-devel] [PATCH 4/9] virtio-9p: remove PCI dependencies from hw/9pfs/

2012-01-01 Thread Paolo Bonzini
On 11/29/2011 02:12 PM, Michael S. Tsirkin wrote: On Tue, Nov 29, 2011 at 09:38:43AM +0100, Paolo Bonzini wrote: On 11/28/2011 07:46 PM, Michael S. Tsirkin wrote: +#ifdef CONFIG_LINUX +static int virtio_9p_init_pci(PCIDevice *pci_dev) +{ +VirtIOPCIProxy *proxy =

Re: [Qemu-devel] virtio-net with virtio-mmio

2012-01-01 Thread Ying-Shiuan Pan
Hi, Stefan Thanks for your response. 2011/12/30 Stefan Hajnoczi stefa...@gmail.com On Wed, Dec 28, 2011 at 06:16:42PM +0800, Ying-Shiuan Pan wrote: I'm very interested in virtio-mmio Peter Maydell did for QEMU, (http://lists.nongnu.org/archive/html/qemu-devel/2011-11/msg01870.html)

[Qemu-devel] [RFC PATCH 2/4] Makefile and configure changes for tracetool.py

2012-01-01 Thread Harsh Prateek Bora
Use tracetool.py to generate tracing code for requested backend. TODO: tracetool.py needs to be updated to add support for other backends. Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com --- Makefile.objs |4 ++-- configure |4 ++-- 2 files changed, 4 insertions(+), 4

[Qemu-devel] [RFC PATCH 4/4] simpletrace.py: updated log reader script to handle new log format

2012-01-01 Thread Harsh Prateek Bora
Note: This script has been updated with minimal changes required to observe the new trace log format in action and therefore can be improved for a better design. It can still read the logs from older log format as well. Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH 4/4] simpletrace.py: Simpletrace v2 tracelog reader script

2012-01-01 Thread Harsh Prateek Bora
Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com --- scripts/simpletrace.py | 110 +++- 1 files changed, 99 insertions(+), 11 deletions(-) diff --git a/scripts/simpletrace.py b/scripts/simpletrace.py index f55e5e6..69829dd 100755 ---

[Qemu-devel] [RFC PATCH 1/4] Converting tracetool.sh to tracetool.py

2012-01-01 Thread Harsh Prateek Bora
Note: As of now, tracetool.py only supports simpletrace backend. TODO: Add support for other tracing backends. Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com --- scripts/tracetool.py | 299 ++ 1 files changed, 299 insertions(+), 0

[Qemu-devel] [RFC PATCH 0/4] simpletrace : support var num/size of args, strings.

2012-01-01 Thread Harsh Prateek Bora
Existing simple trace can log upto 6 args per trace event and does not support strings in trace record format. Introducing new trace format as discussed earlier on list to support variable number/size of arguments. (Ref: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg03426.html) Basic

Re: [Qemu-devel] [PATCH 4/4] simpletrace.py: Simpletrace v2 tracelog reader script

2012-01-01 Thread Harsh Bora
Hi, Please ignore this duplicate patch in the series which was sent by mistake, consider the one with subject '[RFC PATCH 4/4] simpletrace.py: updated log reader script to handle new log format'. Sorry for inconvenience. - Harsh On 01/02/2012 12:20 PM, Harsh Prateek Bora wrote:

[Qemu-devel] [RFC PATCH 3/4] simpletrace-v2: Handle variable number/size of elements per trace record.

2012-01-01 Thread Harsh Prateek Bora
Advantages over existing simpletrace backend: - More than 6 elements (vitually unlimited) arguments can be traced. - This allows to trace strings (variable size element) as well. Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com --- monitor.c |2 +- trace/simple.c | 178