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 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 defini

[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 --- Makefile.target |1 + hw/exynos4210.c | 26 +++ hw/exynos4210.h |3 + hw/exynos4210_i2c.c | 469 +++ 4 files changed, 499 insertions(+), 0 deletions(-) cr

[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 --- Makefile.objs |1 + default-configs/arm-softmmu.mak |1 + hw/exynos4_boards.c | 11 +- hw/maxtouch.c | 1079 +++ 4 files

[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 --- Makefile.target |2 +- hw/exynos4210.c | 46 ++ hw/exynos4210.h | 64 +++ hw/exynos4210_gpio.c | 1117 ++

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

2012-03-15 Thread Markus Armbruster
Anthony Liguori writes: > Just while we're here, I'll be posting the following shortly: > > commit 82aff428155d469ab705294486cc26cb34947999 > Author: Anthony Liguori > Date: Fri Dec 23 11:30:45 2011 -0600 > > qdev: don't allow globals to be set by bus name > > This is technically a compatibili

[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 > i

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 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 are available

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

2012-03-15 Thread Miroslav Rezanina
- Original Message - > From: "Peter Maydell" > To: "Miroslav Rezanina" > 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 Rezanina > wrote: > > --- a/qemu-o

[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 coheren

[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 --- 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 do

[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 fo

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

2012-03-15 Thread Dmitry Fleytman
Signed-off-by: Dmitry Fleytman Signed-off-by: Yan Vugenfirer --- 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 +++ b/cutils.c @@ -27,6 +27,19 @@ #incl

[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 Signed-off-by: Yan Vugenfirer --- Makefile.objs |1 + blockdev.c

[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 Signed-off-by: Yan Vugenfirer --- hw/vmware_utils.h | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) create mode 100644 hw/vmware_utils.h diff --git a/hw/vmware_utils.h b/hw/vmware_utils.h new file m

[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 Signed-off-by: Yan Vugenfirer --- blockdev.h |6

[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 pla

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 > --- > .gitignore

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, w3

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 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 CPULM32State { >

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 > --- > hw/ioapic.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw

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 rem

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 reall

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 RFC v4 03/20] target-arm: Embed CPUARMState in QOM ARMCPU

2012-03-15 Thread Paolo Bonzini
Il 14/03/2012 23:30, Andreas Färber ha scritto: >> As usual I don't like "legacy". :) > > Well, it refers to "former CPUState of which some or many fields are > going to be extracted". I wouldn't want to write it into documentation > as such. > " * @env: CPUARMState" is not telling either. > Bette

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 > Signed-off-by: Yan Vugenfi

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 > --- > 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 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 a/hw/exynos4_boards.c b/hw/

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 > Signed-off-by: Yan Vugenfirer > --- > cutils.c | 13 + > qemu-common.h |1 + > 2 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/cutils.c b/cutils.c > index af308cd..0df7f

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 d

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 Fleytma

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 > Signed-off-by: Yan Vugenfirer > --- > hw/vmware_utils.h | 122 > + > 1 files changed, 122 insertions(+), 0 deletions(-) > create mode 100644 hw/vmware_utils.

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 ch

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 > --- > hw/ds1338.c |1 + > 1 files changed,

Re: [Qemu-devel] [PULL] QOM CPUState v5 - conflict resolution info

2012-03-15 Thread Andreas Färber
Am 15.03.2012 01:49, schrieb Anthony Liguori: > On 03/14/2012 04:42 PM, Andreas Färber wrote: >> Hello Anthony, >> >> Please pull the second QOM CPU series, >> which frees the identifiers cpu_reset and CPUState and introduces >> TYPE_CPU. >> >> Cc: Anthony Liguori >> >> The following changes since

[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 qe

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 R&D center, Samsung Electronics -Original Message- From: Andreas Färber [mailto:afaer.

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 > --- > monitor.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) Thanks, applied to the trivial pa

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 Reviewed-by: Andreas Färber for the non-technical aspects. One remark below. > diff --git a/hw/exynos4210_i2c.c b/hw/exynos4210_i2c.c > new file mode 100644 > index 000..42

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 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 wro

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 Mitsyanko Thanks for moving this to libhw. Looks okay, not knowing I2C or the device and assuming you've tested it; some nitpicks belo

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 > > There are no users of i2c_slave. > > Signed-off-by: Joshua Housh > Signed-off-by: Mark Langsdorf > --- > qemu-common.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) Thanks, applied to the

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 The patches for .instance_size were applied now, so the TypeInfos look okay, altho

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 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 separate patch >  

[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 the

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 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 retaining the old ones

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 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 > will work. > The front

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 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 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 ppc-next, I have CCed

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 hoop

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 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". > >

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 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 look exactly as > on VMWare hy

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 12:4

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 > 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. > > L

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 > optimizi

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 11:19 AM, Lee Essen 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 tree seemed s

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 m

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

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang Signed-off-by: Dong Xu Wang --- 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 +1441,7 @@ static int bdrv_qed_get_info(BlockDriverStat

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

2012-03-15 Thread Alexander Graf
From: Alex Barcelo 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 ppc specific, it's POS

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

2012-03-15 Thread Alexander Graf
From: Meador Inge '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 insert opcode [1f-16-1a]

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

2012-03-15 Thread Alexander Graf
From: Thomas Huth These instructions for loading and storing byte-swapped 64-bit values have been introduced in PowerISA 2.06. Signed-off-by: Thomas Huth Signed-off-by: David Gibson Signed-off-by: Alexander Graf --- target-ppc/cpu.h|4 ++- target-ppc/translate.c | 52 +

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

2012-03-15 Thread Alexander Graf
From: Stefan Weil spin_rw_ops is only used in hw/ppce500_spin.c. Signed-off-by: Stefan Weil Acked-by: Andreas Färber Signed-off-by: Alexander Graf --- hw/ppce500_spin.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c index 268f5

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 sensi

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 > 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

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 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 fo

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 Joyen

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 > > 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 > --- > block.h|

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

2012-03-15 Thread Dong Xu Wang
From: Dong Xu Wang Signed-off-by: Dong Xu Wang --- 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 +++ b/block/qed-check.c @@ -68,6 +68,7 @@ static uns

[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 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 --- block.h|7 +++ qemu-img.c |9 - 2 files changed, 15 insertions(+), 1 delet

[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 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 --- block.h|1 + qemu-img.c |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/block.h b/block.h index

[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 QemuO

Re: [Qemu-devel] Illumos/SmarOS support

2012-03-15 Thread Stefan Hajnoczi
On Thu, Mar 15, 2012 at 12:39 PM, 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 port to s

[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 Signed-off-by: Alexander Graf --- hw/ppc405_uc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --gi

[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 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 --- block.h|1 + qemu-img.c |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/block.h b/block.h index

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 q

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

2012-03-15 Thread Alexander Graf
From: Nathan Whitehorn 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 other CPUs that implement

[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 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 --- block.h|7 +++ qemu-img.c |9 - 2 files changed, 15 insertions(+), 1 delet

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 c

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

2012-03-15 Thread Alexander Graf
From: David Gibson 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 unsigned - sys_ioctl() take

[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 when

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

2012-03-15 Thread Alexander Graf
From: Nathan Whitehorn 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 Acked-by: David Gibson

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

2012-03-15 Thread Alexander Graf
From: David Gibson 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 Signed-off-by: David Gibson Signed-off-by: Alex

[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 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) H_PUT_TCE hypercall to be KVM acc

[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: git

[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 Signed-off-by: Dong Xu Wang --- 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 +++ b/block/qed-check.c @@ -68,6 +68,7 @@ static uns

[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 substractio

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

2012-03-15 Thread Anthony Liguori
From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- tests/libqtest.c | 12 tests/libqtest.h |6 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/tests/libqtest.c b/tests/libqtest.c index dd07b07..1d1b06e 100644 --- a/test

[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 Signed-off-by: Paolo Bonzini --- v1 -> v2 - fix Makefile (Paolo)

[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 (-qtest)

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

2012-03-15 Thread Alexander Graf
From: David Gibson 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, the only devices we supporte

[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 Signed-off-by: Paolo Bonzini --- v1 -> v2 - fix set_alarm_time (Paolo) v2 -> v3 - merge IRQ intercept support (Paolo) --- tests/Makefile |2 +- tests/rtc-test.c | 268 ++ 2 files changed, 269 insertions(

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, "陳韋任" wrote: > On Thu, Mar 15, 2012 at 01:26:44PM +0700, Mulyadi Santosa wrote: > > On Thu, Mar 15, 2012 at 09:12, Yue Chen wrote: > > > Hi!~ > > > > > > Now I'd like to see what the micro-ops (interm

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

2012-03-15 Thread Alexander Graf
From: David Gibson 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 using -device. Since pSeries

[Qemu-devel] [PATCH 08/16] pseries: Remove PCI device from PCI host bridge code

2012-03-15 Thread Alexander Graf
From: Alexey Kardashevskiy The sPAPR PCI code defines a PCI device "spapr-pci-host-bridge-pci" which is never used. This came over from the earlier bridge driver we used as a template. Some other bridges appear on their own PCI bus as a device, but that is not true of pSeries bridges, which are

[Qemu-devel] [PATCH 7/9] rtc: split out macros into a header file and use in test case

2012-03-15 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- hw/mc146818rtc.c | 33 -- hw/mc146818rtc.h |3 +- hw/mc146818rtc_regs.h | 62 + 3 files changed, 63 insertions(+), 35 deletions(-) create mode 100644 hw/mc146818rtc_regs.h

  1   2   3   >