[Qemu-devel] [PATCH] ide: Adds model=s option, allowing the user to override the default disk model name QEMU HARDDISK

2012-03-11 Thread Floris Bos
Some Linux distributions use the /dev/disk/by-id/scsi-SATA_name-of-disk-model_serial addressing scheme when refering to partitions in /etc/fstab and elsewhere. This causes problems when starting a disk image taken from an existing physical server under qemu, because when running under qemu

[Qemu-devel] How to trace all the guest OS instructions and the micro-ops

2012-03-11 Thread Yue Chen
Hi! I am doing some research based on the QEMU. Does anyone know how to get (trace) all the instructions of the guest OS, and get all the intermediate micro-ops ? (Not in the 0.9.1 version) Additionally, how to get the whole memory or each process' memory data of the guest OS? I really

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Andrew Cathrow
- Original Message - From: Anthony Liguori anth...@codemonkey.ws To: Daniel P. Berrange berra...@redhat.com, libvir-l...@redhat.com, qemu-devel@nongnu.org, Gleb Natapov g...@redhat.com, Jiri Denemark jdene...@redhat.com, Avi Kivity a...@redhat.com, a...@ovirt.org Sent: Saturday,

Re: [Qemu-devel] [PATCH 1/2] Support @documentencoding in scripts/texi2pod.pl

2012-03-11 Thread Michael Tokarev
Ping? It's been more than a month since this patch has been posted. Maybe it is a good candidate for -trivial queue? Thanks, /mjt On 02.02.2012 18:16, Michael Tokarev wrote: Currently our texi2pod ignores @documentencoding even if it is set properly in *.texi files. This results in a

Re: [Qemu-devel] [PATCH 2/2] Run pod2man with --utf8 option to enable utf8 in manpages

2012-03-11 Thread Michael Tokarev
Ping? It's been more than a month since this patch has been posted. Maybe it is a good candidate for -trivial queue? Thanks, /mjt On 02.02.2012 18:16, Michael Tokarev wrote: This option makes no difference for manpages which contains only ascii chars. But for manpages with actual UTF8

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Doug Goldstein
On Sat, Mar 10, 2012 at 12:24 PM, Anthony Liguori anth...@codemonkey.ws wrote: On 03/10/2012 09:58 AM, Eduardo Habkost wrote: On Sat, Mar 10, 2012 at 12:42:46PM +, Daniel P. Berrange wrote: I could have sworn we had this discussion a year ago or so, and had decided that the default CPU

Re: [Qemu-devel] Support for Nested Paging

2012-03-11 Thread Ankur Agrawal
Hi, Thanks for your reply. I am a graduate student at Stony Brook University and am working on design and implementation of hypervisors for OSCAR lab ( http://oscar.cs.stonybrook.edu/). Currently I am working on implementing emulation of Nested Page Tables in QEMU as present in AMD-V

[Qemu-devel] [PATCH 1/2] ioport: use INT64_MAX for IO ranges

2012-03-11 Thread Blue Swirl
Expression UINT64_MAX + 1 will make the range bigger than what can be represented with a 64 bit type. This would trigger an assert in int128_get64() after the next patch. Signed-off-by: Blue Swirl blauwir...@gmail.com --- ioport.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[Qemu-devel] [PATCH 2/2] memory: print aliased IO ranges in info mtree

2012-03-11 Thread Blue Swirl
Print also I/O ports behind bridges and other aliases. Signed-off-by: Blue Swirl blauwir...@gmail.com --- memory.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/memory.c b/memory.c index 4c3dc49..0201392 100644 --- a/memory.c +++ b/memory.c @@ -1639,7

[Qemu-devel] [PATCH 1/3] apb: use normal PCI device header for PBM device

2012-03-11 Thread Blue Swirl
PBM has a normal PCI device header, fix. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/apb_pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/apb_pci.c b/hw/apb_pci.c index 1d25da8..b10f31e 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -444,7 +444,6 @@

[Qemu-devel] [PATCH 2/3] sparc: reset CPU state on reset

2012-03-11 Thread Blue Swirl
Not strictly accurate for Sparc64 but avoid confusing Valgrind. Reported-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-sparc/cpu.h |5 +++-- target-sparc/cpu_init.c |1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[Qemu-devel] [PATCH 3/3] sparc64: implement PCI and ISA irqs

2012-03-11 Thread Blue Swirl
Generate correct trap for external interrupts. Map PCI and ISA IRQs to RIC/UltraSPARC-IIi interrupt vectors. Signed-off-by: Blue Swirl blauwir...@gmail.com --- hw/apb_pci.c | 48 +++-- hw/apb_pci.h |3 +- hw/sun4u.c

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Fri, Mar 09, 2012 at 03:15:26PM -0600, Anthony Liguori wrote: On 03/09/2012 03:04 PM, Daniel P. Berrange wrote: On Fri, Mar 09, 2012 at 05:56:52PM -0300, Eduardo Habkost wrote: Resurrecting an old thread: I didn't see any clear conclusion in this thread (this is why I am resurrecting

Re: [Qemu-devel] [PATCH] ide: Adds model=s option, allowing the user to override the default disk model name QEMU HARDDISK

2012-03-11 Thread Andreas Färber
Am 10.03.2012 20:56, schrieb Floris Bos: Some Linux distributions use the /dev/disk/by-id/scsi-SATA_name-of-disk-model_serial addressing scheme when refering to partitions in /etc/fstab and elsewhere. This causes problems when starting a disk image taken from an existing physical server

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Sat, Mar 10, 2012 at 12:58:43PM -0300, Eduardo Habkost wrote: On Sat, Mar 10, 2012 at 12:42:46PM +, Daniel P. Berrange wrote: I could have sworn we had this discussion a year ago or so, and had decided that the default CPU models would be in something like

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Sat, Mar 10, 2012 at 12:24:47PM -0600, Anthony Liguori wrote: Let's step back here. Why are you writing these patches? It's probably not because you have a desire to say -cpu Westmere when you run QEMU on your laptop. I'd wager to say that no human has ever done that or that if they

[Qemu-devel] SeaBIOS v1.6.3.2 release

2012-03-11 Thread Kevin O'Connor
A new stable release of SeaBIOS (version 1.6.3.2) has been tagged. This release has some minor bug fixes, mostly build related. The release is available via git: git clone git://git.seabios.org/seabios -b 1.6.3-stable -Kevin Kevin O'Connor (6): Add PYTHON definition to Makefile. Permit

[Qemu-devel] [PATCH] virtio-serial-bus: use correct lengths in control_out() message

2012-03-11 Thread Michael Tokarev
In case of more than one control message, the code will use size of the largest message so far for all subsequent messages, instead of using size of current one. Fix it. Signed-off-by: Michael Tokarev m...@tls.msk.ru --- hw/virtio-serial-bus.c |6 +++--- 1 files changed, 3 insertions(+), 3

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Anthony Liguori
On 03/11/2012 08:27 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:24:47PM -0600, Anthony Liguori wrote: Let's step back here. Why are you writing these patches? It's probably not because you have a desire to say -cpu Westmere when you run QEMU on your laptop. I'd wager to say that no

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Anthony Liguori
On 03/11/2012 07:41 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:58:43PM -0300, Eduardo Habkost wrote: On Sat, Mar 10, 2012 at 12:42:46PM +, Daniel P. Berrange wrote: I could have sworn we had this discussion a year ago or so, and had decided that the default CPU models would be in

Re: [Qemu-devel] seamless migration with spice

2012-03-11 Thread Anthony Liguori
On 03/11/2012 08:16 AM, Yonit Halperin wrote: Hi, We would like to implement seamless migration for Spice, i.e., keeping the currently opened spice client session valid after migration. Today, the spice client establishes the connection to the destination before migration starts, and when

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Sun, Mar 11, 2012 at 09:12:58AM -0500, Anthony Liguori wrote: On 03/11/2012 08:27 AM, Gleb Natapov wrote: On Sat, Mar 10, 2012 at 12:24:47PM -0600, Anthony Liguori wrote: Let's step back here. Why are you writing these patches? It's probably not because you have a desire to say -cpu

Re: [Qemu-devel] [PATCHv2 3/7] consolidate qemu_iovec_copy() and qemu_iovec_concat() and make them consistent

2012-03-11 Thread Paolo Bonzini
Il 11/03/2012 02:49, Michael Tokarev ha scritto: qemu_iovec_concat() is currently a wrapper for qemu_iovec_copy(), use the former (with extra 0 arg) in a few places where it is used. Change skip argument of qemu_iovec_copy() from uint64_t to size_t, since size of qiov itself is size_t, so

Re: [Qemu-devel] [PATCHv2 5/7] Export qemu_sendv_recvv() and use it in qemu_sendv() and qemu_recvv()

2012-03-11 Thread Paolo Bonzini
Il 11/03/2012 02:49, Michael Tokarev ha scritto: Rename do_sendv_recvv() to qemu_sendv_recvv(), change its last arg (do_send) from int to bool, export it in qemu-common.h, and made the two callers of it (qemu_sendv() and qemu_recvv()) to be trivial #defines just adding 5th arg. GCC is smart

Re: [Qemu-devel] [PATCHv2 6/7] cleanup qemu_co_sendv(), qemu_co_recvv() and friends

2012-03-11 Thread Paolo Bonzini
Il 11/03/2012 02:49, Michael Tokarev ha scritto: The same as for non-coroutine versions in previous patches: rename arguments to be more obvious, change type of arguments from int to size_t where appropriate, and use common code for send and receive paths (with one extra argument) since these

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-11 Thread Shu Ming
IRQ number is actually a word coming from ancient time. When 8259 was popular at that time, we only have 0 ~ 15 interrupts when two 8259 are cascaded. The IRQ number mattered in that time, because 8259 put their vector number in the bus for CPU after the interrupt was delivered. The number

Re: [Qemu-devel] [PATCHv2 0/7] cleanup/consolidate some iovec functions

2012-03-11 Thread Paolo Bonzini
Il 11/03/2012 02:49, Michael Tokarev ha scritto: This is a little cleanup/consolidation for some iovec-related low-level routines in qemu. The plan is to make library functions more understandable, consistent and useful. The patch changes prototypes of several iov and qiov functions to

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Sun, Mar 11, 2012 at 09:16:49AM -0500, Anthony Liguori wrote: If libvirt assumes anything about what kvm actually supports it is working only by sheer luck. Well the simple answer for libvirt is don't use -nodefconfig and then it can reuse the CPU definitions (including any that the user

Re: [Qemu-devel] [PATCH v3] VMXNET3 paravirtual NIC device implementation

2012-03-11 Thread Dmitry Fleytman
Antony, Thanks for you review. We'll go over it and prepare fixes and explanations soon. Best Regards, Dmitry Fleytman.

Re: [Qemu-devel] [PATCHv2 5/7] Export qemu_sendv_recvv() and use it in qemu_sendv() and qemu_recvv()

2012-03-11 Thread Michael Tokarev
On 11.03.2012 19:00, Paolo Bonzini wrote: Il 11/03/2012 02:49, Michael Tokarev ha scritto: Rename do_sendv_recvv() to qemu_sendv_recvv(), change its last arg (do_send) from int to bool, export it in qemu-common.h, and made the two callers of it (qemu_sendv() and qemu_recvv()) to be trivial

Re: [Qemu-devel] seamless migration with spice

2012-03-11 Thread Alon Levy
On Sun, Mar 11, 2012 at 09:18:17AM -0500, Anthony Liguori wrote: On 03/11/2012 08:16 AM, Yonit Halperin wrote: Hi, We would like to implement seamless migration for Spice, i.e., keeping the currently opened spice client session valid after migration. Today, the spice client establishes the

Re: [Qemu-devel] [PATCHv2 6/7] cleanup qemu_co_sendv(), qemu_co_recvv() and friends

2012-03-11 Thread Michael Tokarev
On 11.03.2012 19:01, Paolo Bonzini wrote: Il 11/03/2012 02:49, Michael Tokarev ha scritto: The same as for non-coroutine versions in previous patches: rename arguments to be more obvious, change type of arguments from int to size_t where appropriate, and use common code for send and receive

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Anthony Liguori
On 03/11/2012 09:56 AM, Gleb Natapov wrote: On Sun, Mar 11, 2012 at 09:12:58AM -0500, Anthony Liguori wrote: -cpu best wouldn't solve this. You need a read/write configuration file where QEMU probes the available CPU and records it to be used for the lifetime of the VM. That what I thought

Re: [Qemu-devel] seamless migration with spice

2012-03-11 Thread Anthony Liguori
On 03/11/2012 10:25 AM, Alon Levy wrote: On Sun, Mar 11, 2012 at 09:18:17AM -0500, Anthony Liguori wrote: On 03/11/2012 08:16 AM, Yonit Halperin wrote: Hi, We would like to implement seamless migration for Spice, i.e., keeping the currently opened spice client session valid after migration.

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Anthony Liguori
On 03/11/2012 10:12 AM, Gleb Natapov wrote: On Sun, Mar 11, 2012 at 09:16:49AM -0500, Anthony Liguori wrote: If libvirt assumes anything about what kvm actually supports it is working only by sheer luck. Well the simple answer for libvirt is don't use -nodefconfig and then it can reuse the

Re: [Qemu-devel] [PATCH v2] target-i386: Mask NX bit from cpu_get_phys_page_debug result

2012-03-11 Thread Blue Swirl
Thanks, applied. On Tue, Mar 6, 2012 at 14:22, Jan Kiszka jan.kis...@siemens.com wrote: This was a long pending bug, now revealed by the assert in phys_page_find that stumbled over the large page index returned by cpu_get_phys_page_debug for NX-marked pages: We need to mask out NX and all

Re: [Qemu-devel] [PATCH] gdbstub: Do not kill target in system emulation mode

2012-03-11 Thread Blue Swirl
Thanks, applied. I've been an accidental killer myself countless times. On Tue, Mar 6, 2012 at 17:32, Jan Kiszka jan.kis...@siemens.com wrote: Too many VM kittens were killed since 7d03f82f81. Another one just died under my fat fingers. When you quit a kgdb session, does the Linux kernel

Re: [Qemu-devel] [PATCH] build: Include config-host.mak as soon as possible

2012-03-11 Thread Blue Swirl
Thanks, applied. On Tue, Mar 6, 2012 at 18:50, Lluís Vilanova vilan...@ac.upc.edu wrote: Current code depends on variables defined in config-host.mak before it is actually included. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu Cc: Anthony Liguori aligu...@us.ibm.com Cc: Paul Brook

Re: [Qemu-devel] [PATCH] cache-utils: Add missing include file for uintptr_t

2012-03-11 Thread Blue Swirl
Thanks, applied. On Mon, Mar 5, 2012 at 20:15, Stefan Weil s...@weilnetz.de wrote: Commit 021ecd8b9db37927059f5d3234b51ed766706437 breaks the build for PPC hosts because it uses uintptr_t without the necessary include file. uintptr_t is defined in stdint.h, so add this include. Cc:

Re: [Qemu-devel] [PATCH] w64: Don't redefine lseek, ftruncate

2012-03-11 Thread Blue Swirl
Thanks, applied. On Sat, Mar 10, 2012 at 10:14, Stefan Weil s...@weilnetz.de wrote: MinGW-w64 already defines lseek and ftruncate (and uses the 64 bit variants). The conditional compilation avoids redefinitions (which would be wrong) and compiler warnings. Signed-off-by: Stefan Weil

Re: [Qemu-devel] [PATCH] configure: Test for libiberty.a (mingw32)

2012-03-11 Thread Blue Swirl
Thanks, applied. On Sat, Mar 10, 2012 at 10:14, Stefan Weil s...@weilnetz.de wrote: MinGW-w64 and some versions of MinGW32 don't provide libiberty.a, so add this library only if it was found. Signed-off-by: Stefan Weil s...@weilnetz.de ---  configure |    8 +++-  1 files changed, 7

Re: [Qemu-devel] [PATCH] tcg: Improve tcg_out_label and fix its usage for w64

2012-03-11 Thread Blue Swirl
Thanks, applied. On Sat, Mar 10, 2012 at 18:59, Stefan Weil s...@weilnetz.de wrote: tcg_out_label is always called with a third argument of pointer type which was casted to tcg_target_long. These casts can be avoided by changing the prototype of tcg_out_label. There was also a cast to long.

Re: [Qemu-devel] [PATCH] Add missing const attributes for MemoryRegionOps

2012-03-11 Thread Blue Swirl
Thanks, applied. On Sat, Mar 10, 2012 at 19:15, Stefan Weil s...@weilnetz.de wrote: Am 05.02.2012 21:19, schrieb Stefan Weil: Most MemoryRegionOps already had the const attribute. This patch adds it to the remaining ones. Signed-off-by: Stefan Weils...@weilnetz.de ---  hw/cuda.c          

[Qemu-devel] [PATCH 1/2] console: add some trace events

2012-03-11 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- console.h|3 +++ trace-events |4 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/console.h b/console.h index a95b581..4334db5 100644 --- a/console.h +++ b/console.h @@ -5,6 +5,7 @@ #include qdict.h #include notify.h

[Qemu-devel] [PATCH 2/2] vga: add trace event for ppm_save

2012-03-11 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- hw/vga.c |2 ++ trace-events |3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/vga.c b/hw/vga.c index 5994f43..6dc98f6 100644 --- a/hw/vga.c +++ b/hw/vga.c @@ -30,6 +30,7 @@ #include pixel_ops.h #include

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Sun, Mar 11, 2012 at 10:33:15AM -0500, Anthony Liguori wrote: On 03/11/2012 09:56 AM, Gleb Natapov wrote: On Sun, Mar 11, 2012 at 09:12:58AM -0500, Anthony Liguori wrote: -cpu best wouldn't solve this. You need a read/write configuration file where QEMU probes the available CPU and records

Re: [Qemu-devel] [PATCH 1/1] vmware_vga: stop crashing

2012-03-11 Thread Gerhard Wiesinger
Can confirm that this patch fixes a crash which also occoured here. Since window was out of the VNC window, crash was reproduceable and has been removed reproduceable. Tested-by: Gerhard Wiesinger li...@wiesinger.com Please apply ASAP. Ciao, Gerhard -- http://www.wiesinger.com/ On Mon, 5

Re: [Qemu-devel] GSoC - Tracepoint support for the gdbstub

2012-03-11 Thread Jan Kiszka
On 2012-03-11 15:04, Lyu Mitnick wrote: Hello all, I am Mitnick Lyu, who want to contribute to QEMU and participate Google Summer of Code this year. I have some experience with tool-chain developing and I am highly interested in the project: Tracepoint support for the gdbstub. I am

Re: [Qemu-devel] [PATCH 0/8] Add GTK UI to enable basic accessibility (v2)

2012-03-11 Thread Stefan Weil
Am 27.02.2012 00:46, schrieb Anthony Liguori: I realize UIs are the third rail of QEMU development, but over the years I've gotten a lot of feedback from users about our UI. I think everyone struggles with the SDL interface and its lack of discoverability but it's worse than I think most

[Qemu-devel] [PATCH 0/4] fix qxl screendump using monitor_suspend

2012-03-11 Thread Alon Levy
This patchset starts and ends with trace event additions that make it easier to see the change. It applies on top of http://lists.gnu.org/archive/html/qemu-devel/2012-03/msg01784.html due to trace-events. The problem addressed by this patchset is that after recent fixes (81fb6f) screendump

[Qemu-devel] [PATCH 2/4] qxl/qxl_render.c: add trace events

2012-03-11 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c | 13 - trace-events|6 ++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 25857f6..74e7ea3 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -31,11

[Qemu-devel] [PATCH 3/4] console: pass Monitor to vga_hw_screen_dump/hw_vga_dump

2012-03-11 Thread Alon Levy
Passes the Monitor ptr to the screendump implementation to all for monitor suspend and resume for qxl to fix screendump regression. graphics_console_init signature change required touching every implemented of screen_dump. There is no change other then an added parameter. qxl will make use of it

[Qemu-devel] [PATCH 4/4] qxl-render: call ppm_save on bh

2012-03-11 Thread Alon Levy
Uses the passed Monitor* to suspend and resume the monitor. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c| 82 +++ hw/qxl.c |5 +-- hw/qxl.h |2 +- trace-events |2 + ui/spice-display.h |

[Qemu-devel] [PATCH 1/4] qxl: switch qxl.c to trace-events

2012-03-11 Thread Alon Levy
dprint is still used for qxl_init_common one time prints. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl.c | 140 +++-- trace-events | 47 +++ 2 files changed, 113 insertions(+), 74 deletions(-) diff --git

Re: [Qemu-devel] [libvirt] Modern CPU models cannot be used with libvirt

2012-03-11 Thread Gleb Natapov
On Sun, Mar 11, 2012 at 10:41:32AM -0500, Anthony Liguori wrote: On 03/11/2012 10:12 AM, Gleb Natapov wrote: On Sun, Mar 11, 2012 at 09:16:49AM -0500, Anthony Liguori wrote: If libvirt assumes anything about what kvm actually supports it is working only by sheer luck. Well the simple answer

Re: [Qemu-devel] [PATCH 0/8] Add GTK UI to enable basic accessibility (v2)

2012-03-11 Thread Stefan Weil
Am 11.03.2012 19:24, schrieb François Revol: On -10/01/-28163 20:59, Stefan Weil wrote: Am 27.02.2012 00:46, schrieb Anthony Liguori: I realize UIs are the third rail of QEMU development, but over the years I've gotten a lot of feedback from users about our UI. I think everyone struggles with

Re: [Qemu-devel] [PATCH 2/2] Expose tsc deadline timer cpuid to guest

2012-03-11 Thread Liu, Jinsong
Jan Kiszka wrote: On 2012-03-09 20:09, Liu, Jinsong wrote: Jan Kiszka wrote: On 2012-03-09 19:27, Liu, Jinsong wrote: Jan Kiszka wrote: On 2012-03-06 08:49, Liu, Jinsong wrote: Jan, Any comments? I feel some confused about your point 'disable cpuid feature for older machine types by

[Qemu-devel] [PATCH] alpha-user: Initialize FPCR with round-to-nearest.

2012-03-11 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/translate.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 1d2142b..fe78630 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c

[Qemu-devel] [PATCH v2 2/5] qxl/qxl_render.c: add trace events

2012-03-11 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c | 13 - trace-events|6 ++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 25857f6..74e7ea3 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -31,11

[Qemu-devel] [PATCH v2 1/5] qxl: switch qxl.c to trace-events

2012-03-11 Thread Alon Levy
dprint is still used for qxl_init_common one time prints. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl.c | 140 +++-- trace-events | 47 +++ 2 files changed, 113 insertions(+), 74 deletions(-) diff --git

[Qemu-devel] [PATCH v2 5/5] qxl: screendump: use provided Monitor

2012-03-11 Thread Alon Levy
This fixes the hmp loose end by suspending the monitor and resuming it after ppm_save has been called. For qmp this is redundant, and actually wrong, since a qmp command ends up suspending the hmp monitor and then resuming it. On the other hand I'm not sure how much of a problem this is. The real

[Qemu-devel] [PATCH v2 3/5] qxl-render: call ppm_save on bh

2012-03-11 Thread Alon Levy
With this change ppm_save is called after rendering, and not before. There are two lose ends: hmp: monitor will be active before ppm_save is complete. qmp: return will be emitted before ppm_save is complete. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c| 76

[Qemu-devel] [PATCH v2 4/5] console: pass Monitor to vga_hw_screen_dump/hw_vga_dump

2012-03-11 Thread Alon Levy
Passes the Monitor ptr to the screendump implementation to all for monitor suspend and resume for qxl to fix screendump regression. graphics_console_init signature change required touching every implemented of screen_dump. There is no change other then an added parameter. qxl will make use of it

[Qemu-devel] [PATCH v2 0/5] fix qxl screendump using monitor_suspend

2012-03-11 Thread Alon Levy
v2 changes: rearranged and split the last patch: the console change to add Monitor to vga_hw_screen_dump can be moved past the qxl change, making it easier to see the changes, and adding an intermediate point where ppm_save happens after the update, but the do_screen_dump returns before

Re: [Qemu-devel] [PATCH 0/4] fix qxl screendump using monitor_suspend

2012-03-11 Thread Alon Levy
On Sun, Mar 11, 2012 at 06:39:33PM +0200, Alon Levy wrote: This patchset starts and ends with trace event additions that make it easier to see the change. Self NACK to v1, see v2 on the same thread. It applies on top of http://lists.gnu.org/archive/html/qemu-devel/2012-03/msg01784.html

[Qemu-devel] [PATCH] Tracing documentation changes

2012-03-11 Thread Peter Teoh
I was trying out the tracing feature of QEMU after checking out the git tree at git://git.qemu.org/qemu.git, and managed to generate some traces, but the following are the changes needed to the documentation, in order to successfully generate the tracing. Some comments: qemu-system-i386 was used

[Qemu-devel] seamless migration with spice

2012-03-11 Thread Yonit Halperin
Hi, We would like to implement seamless migration for Spice, i.e., keeping the currently opened spice client session valid after migration. Today, the spice client establishes the connection to the destination before migration starts, and when migration completes, the client's session is

Re: [Qemu-devel] [PATCH 0/8] Add GTK UI to enable basic accessibility (v2)

2012-03-11 Thread François Revol
On -10/01/-28163 20:59, Stefan Weil wrote: Am 27.02.2012 00:46, schrieb Anthony Liguori: I realize UIs are the third rail of QEMU development, but over the years I've gotten a lot of feedback from users about our UI. I think everyone struggles with the SDL interface and its lack of

Re: [Qemu-devel] seamless migration with spice

2012-03-11 Thread Yonit Halperin
Hi. On 03/11/2012 05:36 PM, Anthony Liguori wrote: On 03/11/2012 10:25 AM, Alon Levy wrote: On Sun, Mar 11, 2012 at 09:18:17AM -0500, Anthony Liguori wrote: On 03/11/2012 08:16 AM, Yonit Halperin wrote: Hi, We would like to implement seamless migration for Spice, i.e., keeping the currently

Re: [Qemu-devel] [PATCH 1/5] block: Virtual Bridges VERDE GOW disk image format documentation

2012-03-11 Thread Leonardo E. Reiter
On Fri, Mar 9, 2012 at 4:50 AM, Stefan Hajnoczi stefa...@gmail.com wrote: The mmap(2) approach doesn't support QEMU's protocol concept where an image format block driver is independent of the underlying storage (host file system, NBD, HTTP, etc). In QEMU block layer terminology NBD, HTTP,

[Qemu-devel] GSoC - Tracepoint support for the gdbstub

2012-03-11 Thread Lyu Mitnick
Hello all, I am Mitnick Lyu, who want to contribute to QEMU and participate Google Summer of Code this year. I have some experience with tool-chain developing and I am highly interested in the project: Tracepoint support for the gdbstub. I am wondering to know whether there is someone working for

Re: [Qemu-devel] How to trace all the guest OS instructions and the micro-ops

2012-03-11 Thread Mulyadi Santosa
Hi On Sun, Mar 11, 2012 at 10:12, Yue Chen ycyc...@gmail.com wrote: I am doing some research based on the QEMU. Does anyone know how to get (trace) all the instructions of the guest OS, and get all the intermediate micro-ops ?  (Not in the 0.9.1 version) I believe it's -d option you're

Re: [Qemu-devel] [Bug 950692] Re: High CPU usage in Host (revisited)

2012-03-11 Thread Mulyadi Santosa
On Sun, Mar 11, 2012 at 05:30, PetaMem i...@petamem.com wrote: *Newsflash* We do have a well-behaving KVM Host with 3.2.9 kernel on machine C Note: I am not Qemu developer :) OK, I read your bug report many times. I think you need deeper profiling here. Perhaps perf top is the best bet. Just

Re: [Qemu-devel] [PATCH 4/6] acpi_piix4: Track PCI hotplug status and allow non-ACPI remove path

2012-03-11 Thread Michael S. Tsirkin
On Tue, Mar 06, 2012 at 05:14:51PM -0700, Alex Williamson wrote: When a guest probes a device, clear the up bit in the hotplug register. This allows us to enable a non-ACPI remove path for devices added, but never accessed by the guest. This is useful when a guest does not have ACPI PCI

[Qemu-devel] [PATCH 0/5] AREG0 patches v6

2012-03-11 Thread Blue Swirl
In this version I rebased the series on REGPARM removal, without splitting i386 and x86_64. I've also made some simple performance tests on i386. It looks like REGPARM removal accounts for 2.5% performance loss and the full series 7.5%, in total 10% loss in this test. I'd like to move on with

[Qemu-devel] [PATCH 3/5] TCG: add 5 arg helpers to def-helper.h

2012-03-11 Thread Blue Swirl
Signed-off-by: Blue Swirl blauwir...@gmail.com --- def-helper.h | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/def-helper.h b/def-helper.h index 8a822c7..a13310e 100644 --- a/def-helper.h +++ b/def-helper.h @@ -118,6 +118,8 @@

[Qemu-devel] [PATCH 1/5] i386: Remove REGPARM

2012-03-11 Thread Blue Swirl
Use stack based calling convention (GCC default) for interfacing with generated code instead of register based convention (regparm(3)). Signed-off-by: Blue Swirl blauwir...@gmail.com --- osdep.h |6 --- softmmu_defs.h| 32 +++--- softmmu_template.h|8

[Qemu-devel] [PATCH 5/5] Sparc: avoid AREG0 wrappers for memory access helpers

2012-03-11 Thread Blue Swirl
Adjust generation of load and store templates so that the functions take a parameter for CPUState instead of relying on global env. Remove wrappers. Move remaining memory helpers to ldst_helper.c. Signed-off-by: Blue Swirl blauwir...@gmail.com --- Makefile.target| 12 ++-

[Qemu-devel] Windows boot is waiting for keypress

2012-03-11 Thread Reeted
Hello, I am virtualizing a Windows 2000 machine (bit-by-bit copy of physical machine). It apparently works fine except for one strange thing: windows 2000 stops at the black screen (first step of boot) where it asks me if I want to load Windows 2000 or previous operating system. When the

Re: [Qemu-devel] Re : Regression: more 0.12 regression (SeaBIOS related?)

2012-03-11 Thread Kevin O'Connor
On Wed, Mar 07, 2012 at 06:31:31AM -0800, Alain Ribière wrote: I ran qemu 1.0.1 and the latest SeaBIOS (from the git) with the following options : qemu-system-i386 -L git/bios -fda disk.img -no-fd-bootchk -boot a -m 16 Here is the log :

Re: [Qemu-devel] [RESEND][PATCH 2/2 v3] deal with guest panicked event

2012-03-11 Thread Wen Congyang
At 03/08/2012 07:56 PM, Daniel P. Berrange Wrote: On Thu, Mar 08, 2012 at 01:52:45PM +0200, Avi Kivity wrote: On 03/08/2012 01:36 PM, Daniel P. Berrange wrote: On Thu, Mar 08, 2012 at 01:28:56PM +0200, Avi Kivity wrote: On 03/08/2012 12:15 PM, Wen Congyang wrote: When the host knows the guest

Re: [Qemu-devel] [RFC][PATCH 05/16 v8] Add API to get memory mapping

2012-03-11 Thread Wen Congyang
At 03/09/2012 06:05 PM, Jan Kiszka Wrote: On 2012-03-09 10:57, Wen Congyang wrote: At 03/09/2012 05:41 PM, Jan Kiszka Wrote: On 2012-03-09 03:53, HATAYAMA Daisuke wrote: From: Wen Congyang we...@cn.fujitsu.com Subject: Re: [RFC][PATCH 05/16 v8] Add API to get memory mapping Date: Fri, 09 Mar

Re: [Qemu-devel] [PATCH 0/8] Add GTK UI to enable basic accessibility (v2)

2012-03-11 Thread Anthony Liguori
On 03/11/2012 12:29 PM, Stefan Weil wrote: Hi Anthony, are you still working on a new version of this patch series? Yeah, but this is purely a free time project which is in short supply these days :-) I suggest to commit a slightly modified version of v2 which adds the GTK UI as an

Re: [Qemu-devel] [PATCH 0/8] Add GTK UI to enable basic accessibility (v2)

2012-03-11 Thread Anthony Liguori
On 03/11/2012 01:24 PM, François Revol wrote: GTK itself causes problems, because, it's not ported, thus not available, to all platforms QEMU can run on. It's certainly not available on Haiku at least. There is no perfect solution here. I think GTK is the best that's out there. By using

[Qemu-devel] change the default value of timeout

2012-03-11 Thread Zhang, Yang Z
Hi all Currently, if not using nonblocking mode, the default timeout of select() in main_loop_wait is 1000ms. There has no problem if you run few VMs. But when running more VMs like 32 or 64, then the problem is coming. Our experience shows that when running 64 idle VMs, the pkg C6

Re: [Qemu-devel] regarding qcow2metadata

2012-03-11 Thread PANKAJ RAWAT
yes ofcourse here is the output *[root@t06 p]# ls -lsh* *total 1.4M* *1.4M -rw-r--r-- 1 root root 8.1G Mar 12 09:10 guest* On Wed, Mar 7, 2012 at 10:00 PM, Mulyadi Santosa mulyadi.sant...@gmail.comwrote: have you double checked by using ls -lsh command? :) -- *Pankaj Rawat*