Re: [Qemu-devel] [V4 PATCH 2/5] net: announce self after vm start

2012-03-15 Thread Jason Wang
On 03/13/2012 05:18 PM, Paolo Bonzini wrote: Il 13/03/2012 09:56, Jason Wang ha scritto: This patch moves qemu_announce_self() to vm_start() and add a new parameters to control whether sending gratuitous packet is needed. There are several reasons to do this: - Gratuitous packet is also needed

Re: [Qemu-devel] [V4 PATCH 2/5] net: announce self after vm start

2012-03-15 Thread Jason Wang
On 03/13/2012 10:23 PM, Michael S. Tsirkin wrote: On Tue, Mar 13, 2012 at 04:56:22PM +0800, Jason Wang wrote: This patch moves qemu_announce_self() to vm_start() and add a new parameters to control whether sending gratuitous packet is needed. There are several reasons to do this: - Gratuitous

Re: [Qemu-devel] Debug single program in QEMU

2012-03-15 Thread Mulyadi Santosa
On Thu, Mar 15, 2012 at 09:12, Yue Chen ycyc...@gmail.com wrote: Hi!~ Now I'd like to see what the micro-ops (intermediate operations generated by TCG) of a single Linux or Windows program, any approach to do this under QEMU? Thanks. are you referring to you Qemu system emulation or Qemu

Re: [Qemu-devel] [PATCH 0/2] Lost VNC patches

2012-03-15 Thread Corentin Chary
On Wed, Mar 14, 2012 at 11:16 PM, Stefan Weil s...@weilnetz.de wrote: Am 14.03.2012 22:46, schrieb Anthony Liguori: On 03/14/2012 01:58 AM, Corentin Chary wrote: Hi Anthony, Please merge these two patchs from another age, they fix crash in the VNC server (the iohandler one is only for the

Re: [Qemu-devel] [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-15 Thread Wen Congyang
At 03/15/2012 02:46 AM, Eric Northup Wrote: On Wed, Mar 14, 2012 at 6:25 AM, Gleb Natapov g...@redhat.com wrote: On Wed, Mar 14, 2012 at 03:16:05PM +0200, Avi Kivity wrote: On 03/14/2012 03:14 PM, Gleb Natapov wrote: On Wed, Mar 14, 2012 at 03:07:46PM +0200, Avi Kivity wrote: On 03/14/2012

[Qemu-devel] [PATCH V2 0/3] Exynos: i2c, gpio and touchscreen support for NURI board

2012-03-15 Thread Igor Mitsyanko
This patchset adds Exynos4210 i2c and GPIO implementation along with Atmel MXT touchscreen which is used for NURI board emulation. v1-v2 - QOM-related patches are droped (they have already been accepted); - Added indendations for second and subsequent lines of multiple-line macro

[Qemu-devel] [PATCH V2 1/3] exynos4210: add Exynos4210 i2c implementation

2012-03-15 Thread Igor Mitsyanko
Create 9 exynos4210 i2c interfaces. Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com --- Makefile.target |1 + hw/exynos4210.c | 26 +++ hw/exynos4210.h |3 + hw/exynos4210_i2c.c | 469 +++ 4 files changed, 499

[Qemu-devel] [PATCH V2 3/3] hw: add Atmel maxtouch touchscreen implementation

2012-03-15 Thread Igor Mitsyanko
And use it for exynos4210 NURI board emulation Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com --- Makefile.objs |1 + default-configs/arm-softmmu.mak |1 + hw/exynos4_boards.c | 11 +- hw/maxtouch.c | 1079

[Qemu-devel] [PATCH V2 2/3] exynos4210: add exynos4210 GPIO implementation

2012-03-15 Thread Igor Mitsyanko
Now that we have GPIO emulation for exynos4210 SoC we can use it to properly hook up IRQ line to lan9215 controller on SMDK board. Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com --- Makefile.target |2 +- hw/exynos4210.c | 46 ++ hw/exynos4210.h | 64 +++

Re: [Qemu-devel] [PATCH v2] Man page: Add -global description

2012-03-15 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: Just while we're here, I'll be posting the following shortly: commit 82aff428155d469ab705294486cc26cb34947999 Author: Anthony Liguori aligu...@us.ibm.com Date: Fri Dec 23 11:30:45 2011 -0600 qdev: don't allow globals to be set by bus name

[Qemu-devel] [Bug 938431] Re: Reproducible crash in slirp_remque (qemu 1.0.1)

2012-03-15 Thread Jan Kiszka
Thread 1 (Thread 0xb63d36e0 (LWP 32412)): #0 0xb7679517 in slirp_remque (a=0xb9119cf0) at slirp/misc.c:39 element = 0xb9119cf0 #1 0xb7677489 in if_start (slirp=0xb87a6eb8) at slirp/if.c:189 now = 118754910412798 requeued = 0 ifm = 0xb9119cf0 ifqt =

Re: [Qemu-devel] buildbot failure in qemu on default_s390

2012-03-15 Thread Alexander Graf
On 15.03.2012, at 01:11, Michael Roth mdr...@linux.vnet.ibm.com wrote: On Thu, Mar 15, 2012 at 01:01:04AM +0100, Andreas Färber wrote: Am 15.03.2012 01:16, schrieb q...@buildbot.b1-systems.de: The Buildbot has detected a new failure on builder default_s390 while building qemu. Full details

Re: [Qemu-devel] [PATCH v2] Man page: Add -global description

2012-03-15 Thread Miroslav Rezanina
- Original Message - From: Peter Maydell peter.mayd...@linaro.org To: Miroslav Rezanina mreza...@redhat.com Cc: qemu-devel@nongnu.org Sent: Wednesday, March 14, 2012 7:21:30 PM Subject: Re: [Qemu-devel] [PATCH v2] Man page: Add -global description On 14 March 2012 08:53, Miroslav

[Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c

2012-03-15 Thread Alex Barcelo
I tried to send a trivial patch and a v2, but I did it horribly wrong and seems that have not yet been updated. I thought that maybe it was a good moment to do things betterly. The bug is really a typo, because everywhere there is the same 0 comparison. But each comparison is different one from

[Qemu-devel] [PATCH 2/2] linux-user: Bug on a zero comparation with sas_ss_flags

2012-03-15 Thread Alex Barcelo
All sas_ss_flags' 0 check is the same across every architecture. But in PPC there was a bug and it was checked the other way round. It seems a typo and is not architecture dependant, is a POSIX standard and the QEMU way of checking it. Now the signal.c and its sas_ss_flags check should be

[Qemu-devel] [PATCH 1/2] linux-user: Homogeneity on sas_ss_flags checks (signal)

2012-03-15 Thread Alex Barcelo
Each architecture does the same comparation, but it is hard (at least was hard for me) to see, because of the fancy way of doing a simple 0 comparation. This patch simply tries to assure signal.c code coherence. Signed-off-by: Alex Barcelo abarc...@ac.upc.edu --- linux-user/signal.c | 44

Re: [Qemu-devel] [RFC] qemu-iotest only for Linux?

2012-03-15 Thread Stefan Hajnoczi
On Wed, Mar 14, 2012 at 11:04:24PM +0100, Stefan Weil wrote: What's the reason for _supported_os Linux in each test? Because of this statement, the tests only run on Linux today, although they could also run on BSD, w32 and other operating systems (maybe small fixes are needed). I don't

[Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-15 Thread Dmitry Fleytman
Below is the implementation of VMWare PVSCSI device and command line parameters to configure vendor name and product name for SCSI storage are implemented. Latter is needed to make PVSCSI storage devices look exactly as on VMWare hypervisors. With this and VMWARE3 patches V2V migration problem

[Qemu-devel] [PATCH 1/5] Utility function strpadcpy() added

2012-03-15 Thread Dmitry Fleytman
Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by: Yan Vugenfirer y...@daynix.com --- cutils.c | 13 + qemu-common.h |1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/cutils.c b/cutils.c index af308cd..0df7fdf 100644 --- a/cutils.c +++

[Qemu-devel] [PATCH 5/5] PVSCSI paravirtualized device integration Bus type pvscsi added.

2012-03-15 Thread Dmitry Fleytman
Sample command line for pvscsi-based disk is: -drive file=image.raw,if=none,cache=off,id=pvscsi1 \ -device pvscsi,id=pvscsi -device scsi-disk,drive=pvscsi1,bus=pvscsi.0 \ Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by: Yan Vugenfirer y...@daynix.com --- Makefile.objs

[Qemu-devel] [PATCH 3/5] Header with various utility functions shared by VMWARE SCSI and network devices

2012-03-15 Thread Dmitry Fleytman
Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by: Yan Vugenfirer y...@daynix.com --- hw/vmware_utils.h | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) create mode 100644 hw/vmware_utils.h diff --git

[Qemu-devel] [PATCH 2/5] Vendor name and product name parameters for SCSI devices Options vendor_name and product_name added for SCSI disks.

2012-03-15 Thread Dmitry Fleytman
Sample command line is: -drive file=image.raw,if=none,cache=off,id=scsi1 \ -device lsi,id=scsi -device scsi-disk,drive=scsi1,bus=scsi.0,product_name=VENDOR SCSI DISK,vendor_name=[VENDOR] \ Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by: Yan Vugenfirer y...@daynix.com

[Qemu-devel] Adding make check to the QEMU buildbot

2012-03-15 Thread Stefan Hajnoczi
QEMU has grown a number of sanity tests that can be run using make check. They are fast and do not require many resources. Is it possible to add make check after the build? We may have to deal with some failures in the beginning - either due to buildslave environment or legitimate broken

Re: [Qemu-devel] [PATCH 1/2] .gitignore update

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 08, 2012 at 12:09:40PM +1100, David Gibson wrote: This adds a few previously missing generated files to .gitignore: the qemu-bridge-helper binary, and the linuxboot and multiboot images from pc-bios/optionrom. Signed-off-by: David Gibson da...@gibson.dropbear.id.au ---

Re: [Qemu-devel] [RFC] qemu-iotest only for Linux?

2012-03-15 Thread Christoph Hellwig
On Thu, Mar 15, 2012 at 07:59:20AM +, Stefan Hajnoczi wrote: On Wed, Mar 14, 2012 at 11:04:24PM +0100, Stefan Weil wrote: What's the reason for _supported_os Linux in each test? Because of this statement, the tests only run on Linux today, although they could also run on BSD, w32 and

Re: [Qemu-devel] buildbot failure in qemu on default_s390

2012-03-15 Thread Andreas Färber
Am 15.03.2012 09:32, schrieb Alexander Graf: On 15.03.2012, at 01:11, Michael Roth mdr...@linux.vnet.ibm.com wrote: On Thu, Mar 15, 2012 at 01:01:04AM +0100, Andreas Färber wrote: My GCC handles the following code fine: typedef struct CPULM32State CPULM32State; typedef struct

Re: [Qemu-devel] [Qemu-trivial] [PATCH] ioapic: fix build with DEBUG_IOAPIC

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 08, 2012 at 10:05:22AM +0800, Jason Wang wrote: ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’ Signed-off-by: Jason Wang jasow...@redhat.com --- hw/ioapic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [Qemu-devel] [PATCH v2] vnc: Fix packed boolean struct members

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 08, 2012 at 10:58:06PM +0100, Stefan Weil wrote: This patch fixes warnings reported by splint: For variables which are packed in a single bit, a signed data type like 'int' does not make much sense. There is no obvious reason why the two values should be packed, so I removed

Re: [Qemu-devel] [PATCH v3 0/7] RTC: New logic to emulate RTC

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 01:06, Zhang, Yang Z ha scritto: You are right. Actually, the v4 is ready and it uses the same logic with v2. Since I have other high priority task in hand, I don't test v4 too much. So i plan to delay it for a while and hope v3 can be accepted before v4 is ready. If you really

Re: [Qemu-devel] [RFC PATCH 06/17] block: use bdrv_{co, aio}_discard for write_zeroes operations

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 01:42, Richard Laager ha scritto: It is worse in that we do not want the hardware parameters exposed to the guest to change behind the scenes, except if you change the machine type or if you use the default unversioned type. You're saying that discard_granularity and

Re: [Qemu-devel] [Qemu-trivial] do_spice_init error on Ubuntu11.10

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 08, 2012 at 11:29:48AM +0800, suyi wang wrote: Hi all: Hi Suyi, qemu-trivial is a mailing list for QEMU patches, questions should be directed at the regular QEMU mailing list. I have CCed qemu-devel and libvirt-list so your question will go to the QEMU and libvirt communities. Are

Re: [Qemu-devel] [PATCH 5/5] PVSCSI paravirtualized device integration Bus type pvscsi added.

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 10:02, Dmitry Fleytman ha scritto: Sample command line for pvscsi-based disk is: -drive file=image.raw,if=none,cache=off,id=pvscsi1 \ -device pvscsi,id=pvscsi -device scsi-disk,drive=pvscsi1,bus=pvscsi.0 \ Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by:

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Remove type field in ModuleEntry as it's not used.

2012-03-15 Thread Stefan Hajnoczi
On Wed, Mar 07, 2012 at 11:36:43PM +0800, Chen Yufei wrote: Signed-off-by: Chen Yufei cyfde...@gmail.com --- module.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan

Re: [Qemu-devel] [PATCH V2 3/3] hw: add Atmel maxtouch touchscreen implementation

2012-03-15 Thread Andreas Färber
Am 15.03.2012 08:35, schrieb Igor Mitsyanko: And use it for exynos4210 NURI board emulation Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com Thanks for moving this to libhw. Looks okay, not knowing I2C or the device and assuming you've tested it; some nitpicks below. diff --git

Re: [Qemu-devel] [PATCH 1/5] Utility function strpadcpy() added

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 10:02, Dmitry Fleytman ha scritto: Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by: Yan Vugenfirer y...@daynix.com --- cutils.c | 13 + qemu-common.h |1 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/cutils.c

Re: [Qemu-devel] [PATCH] kvmvapic: align start address as well as size

2012-03-15 Thread Avi Kivity
On 03/14/2012 10:33 PM, Anthony Liguori wrote: On 03/06/2012 09:50 AM, Avi Kivity wrote: The kvmvapic code remaps a section of ROM as RAM to allow the guest to maintain state there. It is careful to align the section size to a page boundary, to avoid creating subpages, but neglects to do the

Re: [Qemu-devel] [PATCH 2/5] Vendor name and product name parameters for SCSI devices Options vendor_name and product_name added for SCSI disks.

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 10:02, Dmitry Fleytman ha scritto: Sample command line is: -drive file=image.raw,if=none,cache=off,id=scsi1 \ -device lsi,id=scsi -device scsi-disk,drive=scsi1,bus=scsi.0,product_name=VENDOR SCSI DISK,vendor_name=[VENDOR] \ Signed-off-by: Dmitry Fleytman

Re: [Qemu-devel] [PATCH 3/5] Header with various utility functions shared by VMWARE SCSI and network devices

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 10:02, Dmitry Fleytman ha scritto: Signed-off-by: Dmitry Fleytman dmi...@daynix.com Signed-off-by: Yan Vugenfirer y...@daynix.com --- hw/vmware_utils.h | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) create

Re: [Qemu-devel] [PATCH 0/1] Fix large memory chunks allocation with tcg_malloc

2012-03-15 Thread Kirill Batuzov
Ping? Somebody please review this patch... And whom should I Cc in case of changes to tcg/ ? File MAINTAINERS lists only qemu-devel for this subsystem. On Fri, 2 Mar 2012, Kirill Batuzov wrote: Currently large memory chunk allocation with tcg_malloc is broken. An attempt to allocate such

Re: [Qemu-devel] [PATCH] ds1338: Add missing break statement

2012-03-15 Thread Stefan Hajnoczi
On Sat, Feb 25, 2012 at 02:50:25PM +0100, Stefan Weil wrote: Without the break statement, case 5 sets month and year from the same data. This does not look correct. The missing break was reported by splint. Signed-off-by: Stefan Weil s...@weilnetz.de --- hw/ds1338.c |1 + 1 files

[Qemu-devel] pci-assign can not work

2012-03-15 Thread Wen Congyang
Hi all When I use pci-assign, I meet the following error: Failed to assign irq for hostdev0: Input/output error Perhaps you are assigning a device that shares an IRQ with another device? Is it a bug or I miss something? I use libvirt to start the guest, and the user/group is root/root(not

Re: [Qemu-devel] [PATCH V2 3/3] hw: add Atmel maxtouch touchscreen implementation

2012-03-15 Thread Dmitry Solodkiy
Dear Andreas, All rights reserved was added by accident and going to be removed on next update of all our patches. Thanks, Dmitry Solodkiy,      Emulator/Kernel PL, Mobile Group,    Moscow RD center, Samsung Electronics -Original Message- From: Andreas Färber

Re: [Qemu-devel] [PATCH] monitor: Remove unused bool field 'qapi' in mon_cmd_t struct

2012-03-15 Thread Stefan Hajnoczi
On Mon, Mar 12, 2012 at 02:13:57PM -0400, Jeff Cody wrote: Some minor code cleanup: the 'qapi' bool field in mon_cmd_t is unused, and can be removed. Signed-off-by: Jeff Cody jc...@redhat.com --- monitor.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) Thanks, applied to the

Re: [Qemu-devel] [PATCH V2 1/3] exynos4210: add Exynos4210 i2c implementation

2012-03-15 Thread Andreas Färber
Am 15.03.2012 08:35, schrieb Igor Mitsyanko: Create 9 exynos4210 i2c interfaces. Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com Reviewed-by: Andreas Färber afaer...@suse.de for the non-technical aspects. One remark below. diff --git a/hw/exynos4210_i2c.c b/hw/exynos4210_i2c.c new

Re: [Qemu-devel] [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-15 Thread Gleb Natapov
On Wed, Mar 14, 2012 at 11:46:08AM -0700, Eric Northup wrote: On Wed, Mar 14, 2012 at 6:25 AM, Gleb Natapov g...@redhat.com wrote: On Wed, Mar 14, 2012 at 03:16:05PM +0200, Avi Kivity wrote: On 03/14/2012 03:14 PM, Gleb Natapov wrote: On Wed, Mar 14, 2012 at 03:07:46PM +0200, Avi

Re: [Qemu-devel] [PATCH V2 3/3] hw: add Atmel maxtouch touchscreen implementation

2012-03-15 Thread Igor Mitsyanko
On 03/15/2012 01:48 PM, Andreas Färber wrote: Am 15.03.2012 08:35, schrieb Igor Mitsyanko: And use it for exynos4210 NURI board emulation Signed-off-by: Igor Mitsyankoi.mitsya...@samsung.com Thanks for moving this to libhw. Looks okay, not knowing I2C or the device and assuming you've

Re: [Qemu-devel] [PATCH 1/2] cleanup obsolete typedef

2012-03-15 Thread Stefan Hajnoczi
On Tue, Mar 13, 2012 at 01:28:47PM -0500, Mark Langsdorf wrote: From: Joshua Housh joshua.ho...@calxeda.com There are no users of i2c_slave. Signed-off-by: Joshua Housh joshua.ho...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- qemu-common.h |1 - 1 files

Re: [Qemu-devel] [PATCH V2 2/3] exynos4210: add exynos4210 GPIO implementation

2012-03-15 Thread Andreas Färber
Am 15.03.2012 08:35, schrieb Igor Mitsyanko: Now that we have GPIO emulation for exynos4210 SoC we can use it to properly hook up IRQ line to lan9215 controller on SMDK board. Signed-off-by: Igor Mitsyanko i.mitsya...@samsung.com The patches for .instance_size were applied now, so the

Re: [Qemu-devel] [PATCH v3 0/3] qxl trace events

2012-03-15 Thread Stefan Hajnoczi
On Wed, Mar 14, 2012 at 1:09 PM, Alon Levy al...@redhat.com wrote: Changes from v2:  split 6+ trace points to X + X_rest (leave qid as first argument in both) (Stefan)  (cleanup as requested by Gerd)  no trace event for pipe write failure, left dprint there anyway.  indentation in a

[Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Lee Essen
Resend from different email -- not sure what happened to my first 2 attempts! Hi, I've been working on getting the mainline qemu tree working on SmartOS (illumos), the current qemu support seems to be a branch of qemu-kvm and we've been having some problems getting spice working, so moving to

Re: [Qemu-devel] [PATCH] coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31

2012-03-15 Thread Stefan Hajnoczi
On Sat, Mar 3, 2012 at 2:52 PM, Peter Maydell peter.mayd...@linaro.org wrote: The GLib threading APIs were revamped in GLib 2.31 and a number of the old interfaces were deprecated, which means they provoke compilation warnings (errors if -Werror) now. Add support for the new interfaces while

Re: [Qemu-devel] Virtio_PCI device driver code

2012-03-15 Thread Stefan Hajnoczi
On Wed, Mar 14, 2012 at 1:38 PM, Abhinav Pundir abhinavmast...@gmail.com wrote: Hello all I am very much new to the world of KVM and Qemu. I am trying to make a communication possible between the Guest and the Host. I have studied how Virtio works but I am still confused how exactly the flow

Re: [Qemu-devel] [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-15 Thread Jan Kiszka
On 2012-03-15 11:39, Gleb Natapov wrote: On Wed, Mar 14, 2012 at 11:46:08AM -0700, Eric Northup wrote: On Wed, Mar 14, 2012 at 6:25 AM, Gleb Natapov g...@redhat.com wrote: On Wed, Mar 14, 2012 at 03:16:05PM +0200, Avi Kivity wrote: On 03/14/2012 03:14 PM, Gleb Natapov wrote: On Wed, Mar 14,

Re: [Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 8:52 AM, Alex Barcelo abarc...@ac.upc.edu wrote: I tried to send a trivial patch and a v2, but I did it horribly wrong and seems that have not yet been updated. I thought that maybe it was a good moment to do things betterly. Alex Graf mentioned he'd apply it to

Re: [Qemu-devel] [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-15 Thread Avi Kivity
On 03/15/2012 01:25 PM, Jan Kiszka wrote: There was such vm exit (KVM_EXIT_HYPERCALL), but it was deemed to be a bad idea. BTW, this would help a lot in emulating hypercalls of other hypervisors (or of KVM's VAPIC in the absence of in-kernel irqchip - I had to jump through hoops

Re: [Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c

2012-03-15 Thread Alexander Graf
On 15.03.2012, at 12:41, Stefan Hajnoczi wrote: On Thu, Mar 15, 2012 at 8:52 AM, Alex Barcelo abarc...@ac.upc.edu wrote: I tried to send a trivial patch and a v2, but I did it horribly wrong and seems that have not yet been updated. I thought that maybe it was a good moment to do things

Re: [Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 9:02 AM, Dmitry Fleytman dmitry.fleyt...@ravellosystems.com wrote: Below is the implementation of VMWare PVSCSI device and command line parameters to configure vendor name and product name for SCSI storage are implemented. Latter is needed to make PVSCSI storage devices

Re: [Qemu-devel] [PATCH 0/2] Style and bug on linux-user/signal.c

2012-03-15 Thread Alex Barcelo
Thanks and sorry! I forgot to add a CC when doing the git send-email. And I thought that I saw some pulls to PPC, so I assumed that the patch was incomplete (I didn't prepare it very well), and thought that better to do a style patch next to it. And comment it better. On Thu, Mar 15, 2012 at

Re: [Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-15 Thread Daniel P. Berrange
On Thu, Mar 15, 2012 at 11:47:29AM +, Stefan Hajnoczi wrote: On Thu, Mar 15, 2012 at 9:02 AM, Dmitry Fleytman dmitry.fleyt...@ravellosystems.com wrote: Below is the implementation of VMWare PVSCSI device and command line parameters to configure vendor name and product name for SCSI

Re: [Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-15 Thread Paolo Bonzini
Il 15/03/2012 12:47, Stefan Hajnoczi ha scritto: What is the V2V strategy? Supporting these devices is fine if we have a way to convert guests to use virtio. But if the plan is to keep the guests on VMware pv devices, then that will split the development effort on support and optimizing

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 11:19 AM, Lee Essen lee.es...@me.com wrote: I've been working on getting the mainline qemu tree working on SmartOS (illumos), the current qemu support seems to be a branch of qemu-kvm and we've been having some problems getting spice working, so moving to the main qemu

Re: [Qemu-devel] [PATCH 2/7] Convert pc cpu to qdev

2012-03-15 Thread Gleb Natapov
On Wed, Mar 14, 2012 at 08:55:08PM +0100, Vasilis Liaskovitis wrote: On Wed, Mar 14, 2012 at 05:23:24PM +0200, Gleb Natapov wrote: On Wed, Mar 14, 2012 at 02:49:59PM +0100, Vasilis Liaskovitis wrote: Hi, On a different note, are your going to continue working on your memory hot

[Qemu-devel] [PATCH 4/4] block: track dirty flag status in qed

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block/qed.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/block/qed.c b/block/qed.c index a041d31..44b72aa 100644 --- a/block/qed.c +++ b/block/qed.c @@ -1441,6

[Qemu-devel] [PATCH 01/16] Bad zero comparison for sas_ss_flags on powerpc

2012-03-15 Thread Alexander Graf
From: Alex Barcelo abarc...@ac.upc.edu All architectures work the same way, and all check for sas_ss_flags == 0. The powerpc lines are wrong, and do the check the other way round (it's a qemu internal check, which is done wrong only for this architecture, it's more a typo than a bug). It's NOT

[Qemu-devel] [PATCH 12/16] ppc: Correctly define POWERPC_INSNS2_DEFAULT

2012-03-15 Thread Alexander Graf
From: Meador Inge mead...@codesourcery.com 'POWERPC_INSNS2_DEFAULT' was defined incorrectly which was causing the opcode table creation code to erroneously register 'eieio' and 'mbar' for the default processor: ** ERROR: opcode 1a already assigned in opcode table 16 *** ERROR: unable to

[Qemu-devel] [PATCH 05/16] PPC64: Add support for ldbrx and stdbrx instructions

2012-03-15 Thread Alexander Graf
From: Thomas Huth th...@linux.vnet.ibm.com These instructions for loading and storing byte-swapped 64-bit values have been introduced in PowerISA 2.06. Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com Signed-off-by: David Gibson da...@gibson.dropbear.id.au Signed-off-by: Alexander Graf

[Qemu-devel] [PATCH 03/16] ppc: Add missing 'static' to spin_rw_ops

2012-03-15 Thread Alexander Graf
From: Stefan Weil s...@weilnetz.de spin_rw_ops is only used in hw/ppce500_spin.c. Signed-off-by: Stefan Weil s...@weilnetz.de Acked-by: Andreas Färber afaer...@suse.de Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_spin.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Andreas Färber
Hi, Am 15.03.2012 12:19, schrieb Lee Essen: I've been working on getting the mainline qemu tree working on SmartOS (illumos), the current qemu support seems to be a branch of qemu-kvm and we've been having some problems getting spice working, so moving to the main qemu tree seemed

Re: [Qemu-devel] [PATCH 0/5] VMWare PVSCSI paravirtual device implementation

2012-03-15 Thread Avi Kivity
On 03/15/2012 01:47 PM, Stefan Hajnoczi wrote: On Thu, Mar 15, 2012 at 9:02 AM, Dmitry Fleytman dmitry.fleyt...@ravellosystems.com wrote: Below is the implementation of VMWare PVSCSI device and command line parameters to configure vendor name and product name for SCSI storage are

Re: [Qemu-devel] [PATCH] coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31

2012-03-15 Thread Andreas Färber
Am 14.03.2012 15:50, schrieb Peter Maydell: Ping? On 3 March 2012 14:52, Peter Maydell peter.mayd...@linaro.org wrote: The GLib threading APIs were revamped in GLib 2.31 and a number of the old interfaces were deprecated, which means they provoke compilation warnings (errors if -Werror)

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread lee . essen
On 15/03/2012 11:56, Stefan Hajnoczi wrote: Anyway, couple of questions… 1. Are you happy to accept patches that enable this? - There are a few build related things that don't work … assumption of sh being bash, missing -64 argument to dtrace etc. Sounds good, but have you checked the

Re: [Qemu-devel] [PATCH 1/4 v3] block: add image fragmentation statistics to qemu-img

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 08:13:31PM +0800, Dong Xu Wang wrote: From: Dong Xu Wang wdon...@linux.vnet.ibm.com Discussion can be found at: http://patchwork.ozlabs.org/patch/128730/ This patch add image fragmentation statistics while using qemu-img check. Signed-off-by: Dong Xu Wang

[Qemu-devel] [PATCH 2/4 v3] block: image fragmentation statistics for qed

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block/qed-check.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/block/qed-check.c b/block/qed-check.c index e4a49ce..94327ff 100644 --- a/block/qed-check.c

[Qemu-devel] [PATCH 1/4 v3] block: add image fragmentation statistics to qemu-img

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Discussion can be found at: http://patchwork.ozlabs.org/patch/128730/ This patch add image fragmentation statistics while using qemu-img check. Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block.h|7 +++ qemu-img.c |9

[Qemu-devel] [PATCH 3/4 v3] block: add dirty flag status to qemu-img

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Some block drivers can verify their image files are clean or not. So we can show it while using qemu-img info. Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block.h|1 + qemu-img.c |3 +++ 2 files changed, 4 insertions(+), 0

[Qemu-devel] [PATCH] vga: disable default VGA if appropriate -device is used

2012-03-15 Thread Paolo Bonzini
This is a partial revert of commits a369da5 (vga: improve VGA logic, committed 2012-01-22) and c5bd4f3 (vga: fix -nodefaults -device VGA, 2012-01-24) which broke command-line option parsing in different ways. Since commit a369da5 it has become impossible to specify a VGA device entirely with

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 12:39 PM, lee.es...@me.com wrote: On 15/03/2012 11:56, Stefan Hajnoczi wrote: I think what you are trying to do makes sense - IllumOS as a host OS and QEMU platform should be actively involved in the upstream QEMU community. But you may want to first check the Joyent

[Qemu-devel] [PATCH 02/16] PPC: 405: Fix ppc405ep initialization

2012-03-15 Thread Alexander Graf
When trying to run a ppc405 guest, it segfaults quite quickly, trying to access timers that weren't initialized. Initialize them properly instead. Reported-by: Andreas Faerber afaer...@suse.de Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppc405_uc.c |2 ++ 1 files changed, 2

[Qemu-devel] [PATCH 3/4 v3] block: add dirty flag status to qemu-img

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Some block drivers can verify their image files are clean or not. So we can show it while using qemu-img info. Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block.h|1 + qemu-img.c |3 +++ 2 files changed, 4 insertions(+), 0

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Andreas Färber
Something went wrong with your reply... While it contains a quote it does not reference the mail you replied to, that way messages get lost among the constant chatter on qemu-devel. Am 15.03.2012 13:39, schrieb lee.es...@me.com: On 15/03/2012 11:56, Stefan Hajnoczi wrote: Anyway, couple of

[Qemu-devel] [PATCH 09/16] PPC: Add PIR register to POWER7 CPU

2012-03-15 Thread Alexander Graf
From: Nathan Whitehorn nwhiteh...@freebsd.org The POWER7 emulation is missing the Processor Identification Register, mandatory in recent POWER CPUs, that is required for SMP on at least some operating systems (e.g. FreeBSD) to function properly. This patch copies the existing PIR code from the

[Qemu-devel] [PATCH 1/4 v3] block: add image fragmentation statistics to qemu-img

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Discussion can be found at: http://patchwork.ozlabs.org/patch/128730/ This patch add image fragmentation statistics while using qemu-img check. Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block.h|7 +++ qemu-img.c |9

Re: [Qemu-devel] [PATCH] kvmvapic: align start address as well as size

2012-03-15 Thread Anthony Liguori
On 03/15/2012 04:55 AM, Avi Kivity wrote: On 03/14/2012 10:33 PM, Anthony Liguori wrote: On 03/06/2012 09:50 AM, Avi Kivity wrote: The kvmvapic code remaps a section of ROM as RAM to allow the guest to maintain state there. It is careful to align the section size to a page boundary, to avoid

[Qemu-devel] [PATCH 13/16] kvm: Comparison with ioctl number macros needs to be unsigned

2012-03-15 Thread Alexander Graf
From: David Gibson da...@gibson.dropbear.id.au In kvm-all.c we store an ioctl cmd number in the irqchip_inject_ioctl field of KVMState, which has type 'int'. This seems to make sense since the ioctl() man page says that the cmd parameter has type int. However, the kernel treats ioctl numbers as

[Qemu-devel] [Bug 918791] Re: qemu-kvm dies when using vmvga driver and unity in the guest

2012-03-15 Thread Jamie Strandboge
Serge, thanks for your work on this. I can confirm that I can run unity- 2d on 11.04 without crashing qemu. Thanks! :) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/918791 Title: qemu-kvm dies

[Qemu-devel] [PATCH 10/16] PPC: Fix large page support in TCG

2012-03-15 Thread Alexander Graf
From: Nathan Whitehorn nwhiteh...@freebsd.org Fix large page support in TCG. The old code would overwrite the large page table entry with the fake 4 KB one generated here whenever the ref/change bits were updated, causing it to point to the wrong area of memory. Signed-off-by: Nathan Whitehorn

[Qemu-devel] [PATCH 07/16] pseries: Remove unused constant from PCI code

2012-03-15 Thread Alexander Graf
From: David Gibson da...@gibson.dropbear.id.au The 'bars' constant array was used in experimental device allocation code which is no longer necessary now that we always run the SLOF firmware. This patch removes the now redundant variable. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru

[Qemu-devel] [PATCH 04/16] pseries: Don't try to munmap() a malloc()ed TCE table

2012-03-15 Thread Alexander Graf
From: David Gibson da...@gibson.dropbear.id.au For the pseries machine, TCE (IOMMU) tables can either be directly malloc()ed in qemu or, when running on a KVM which supports it, mmap()ed from a KVM ioctl. The latter option is used when available, because it allows the (frequent bottlenext)

[Qemu-devel] [PULL 00/16] ppc patch queue 2012-03-15

2012-03-15 Thread Alexander Graf
Hi Blue / Aurelien, This is my current patch queue for ppc. Please pull. Alex The following changes since commit ae7d54d489540b49b7c13a7df7ddc220588a2ced: Andreas Färber (1): target-lm32/microblaze: Drop second CPU{LM32, MB}State typedef are available in the git repository at:

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

2012-03-15 Thread Peter Maydell
** Changed in: qemu-linaro Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/883136 Title: qemu on ARM hosts aborts on startup because makecontext() always

[Qemu-devel] [PATCH 2/4 v3] block: image fragmentation statistics for qed

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- block/qed-check.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/block/qed-check.c b/block/qed-check.c index e4a49ce..94327ff 100644 --- a/block/qed-check.c

[Qemu-devel] [PATCH 16/16] PPC: Fix openpic with relative memregions

2012-03-15 Thread Alexander Graf
After commit 5312bd8b3152 we got memory region relative offsets into our mmio callbacks instead of page boundary based offsets. This broke the OpenPIC emulation which expected offsets to be on page boundary and substracted its region offset manually. This patch gets rid of that manual

[Qemu-devel] [PATCH 6/9] libqtest: add IRQ intercept commands

2012-03-15 Thread Anthony Liguori
From: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/libqtest.c | 12 tests/libqtest.h |6 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/tests/libqtest.c

[Qemu-devel] [PATCH 4/9] make: add check targets based on gtester (v2)

2012-03-15 Thread Anthony Liguori
This will run all tests through gtester. The main targets are: $ make check Which will run each unit test and: $ make check-report.html Which will generate a nice HTML report of the test status. Signed-off-by: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Paolo Bonzini

[Qemu-devel] [PATCH 2/9] qtest: add test framework (v3)

2012-03-15 Thread Anthony Liguori
The idea behind qtest is pretty simple. Instead of executing a CPU via TCG or KVM, rely on an external process to send events to the device model that the CPU would normally generate. qtest presents itself as an accelerator. In addition, a new option is added to establish a qtest server

[Qemu-devel] [PATCH 11/16] pseries: Add support for level interrupts to XICS

2012-03-15 Thread Alexander Graf
From: David Gibson da...@gibson.dropbear.id.au The pseries xics interrupt controller, like most interrupt controllers can support both message (i.e. edge sensitive) interrupts and level sensitive interrupts, but it needs to know which are which. When I implemented the xics emulation for qemu,

[Qemu-devel] [PATCH 0/9] qtest: a testing framework for devices (v3)

2012-03-15 Thread Anthony Liguori
Hi, This is a combination of Paolo's qtest series and my original qtest series. qtest provides a way to write tests against specific devices using the host environment to interact with guests. This also includes a patch from Stefan Weil that he asked me to include in this series.

[Qemu-devel] [PATCH 8/9] qtest: add rtc-test test-case (v3)

2012-03-15 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- v1 - v2 - fix set_alarm_time (Paolo) v2 - v3 - merge IRQ intercept support (Paolo) --- tests/Makefile |2 +- tests/rtc-test.c | 268

Re: [Qemu-devel] Debug single program in QEMU

2012-03-15 Thread Yue Chen
But it is hard to localize a specific program instead of lots of logs. On Mar 15, 2012 4:14 AM, 陳韋任 che...@iis.sinica.edu.tw wrote: On Thu, Mar 15, 2012 at 01:26:44PM +0700, Mulyadi Santosa wrote: On Thu, Mar 15, 2012 at 09:12, Yue Chen ycyc...@gmail.com wrote: Hi!~ Now I'd like to

[Qemu-devel] [PATCH 15/16] pseries: Configure PCI bridge using properties

2012-03-15 Thread Alexander Graf
From: David Gibson da...@gibson.dropbear.id.au Currently, the function spapr_create_phb() uses its parameters to initialize the correct memory windows for the new PCI Host Bridge (PHB). This is not the way things are supposed to be done with qdevs, and means you can't create extra PHBs easily

  1   2   3   >