Re: [Qemu-devel] [PATCH 1/3] virtio-9p: Move 9p device registration into virtio-9p.c

2011-05-31 Thread Aneesh Kumar K.V
On Tue, 31 May 2011 14:28:19 -0700, Venkateswararao Jujjuri wrote: > On 04/27/2011 04:46 AM, Aneesh Kumar K.V wrote: > > This patch move the 9p device registration into its own file > > All other PCI devices registration is in this file. Not sure the need to > move 9p alone. > Also s390x doesn'

Re: [Qemu-devel] [PATCH 2/2] Add support for Zipit Z2 machine

2011-05-31 Thread Vasily Khoruzhick
On Wednesday 01 June 2011 02:35:05 Peter Maydell wrote: > On 31 May 2011 15:16, Vasily Khoruzhick wrote: > > +static uint32_t zipit_lcd_transfer(SSISlave *dev, uint32_t value) > > +{ > > +ZipitLCD *z = FROM_SSI_SLAVE(ZipitLCD, dev); > > +if (z->enabled) { > > +z->buf[z->pos] = valu

[Qemu-devel] [PATCH] Don't translate pointer when in restore_sigcontext

2011-05-31 Thread Mike McCormack
Fixes crash in i386 when user emulation base address is non-zero. 21797 rt_sigreturn(8,1082124603,1,0,1082126048,1082126248)Exit reason and status: signal 11 Signed-off-by: Mike McCormack --- linux-user/signal.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-

[Qemu-devel] Hello Would You Like To Earn

2011-05-31 Thread Sharon . Burns
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3brnlpx Regards, Sharon Burns Survey Human Resources Dept.

Re: [Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-05-31 Thread Wei Liu
Stefano Stabellini CC'ed On Wed, Jun 1, 2011 at 12:56 PM, Stefan Hajnoczi wrote: > On Wed, Jun 1, 2011 at 2:06 AM, Wei Liu wrote: >> I'm programming for virtio disk support in Xen tool stack. I would >> like to know the limitation of virtio disk. > > I'm interested what you are implementing - a

[Qemu-devel] [RFC PATCH 13/13] usb-ohci: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/usb-ohci.c | 46 +++--- 1 files changed, 31 insertions(+), 15 deletions(-) diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index d21c820..9d1cf91

[Qemu-devel] [RFC PATCH 06/13] eepro100: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/eepro100.c | 95 ++-- 1 files changed, 51 insertions(+), 44 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 05450e8

[Qemu-devel] [RFC PATCH 12/13] usb-uhci: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/usb-uhci.c | 26 ++ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 346db3e..1661e54 100644 --- a/hw/usb-

[Qemu-devel] [RFC PATCH 03/13] AMD IOMMU emulation

2011-05-31 Thread Eduard - Gabriel Munteanu
This introduces emulation for the AMD IOMMU, described in "AMD I/O Virtualization Technology (IOMMU) Specification". Signed-off-by: Eduard - Gabriel Munteanu --- Makefile.target |2 +- hw/amd_iommu.c | 712 +++ hw/pc.c |2 + 3

[Qemu-devel] [RFC PATCH 10/13] lsi53c895a: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/lsi53c895a.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index be4df58..7bfc604 100644 --- a/hw/

[Qemu-devel] [RFC PATCH 11/13] pcnet: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/pcnet-pci.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/pcnet-pci.c b/hw/pcnet-pci.c index 9415a1e..6c2186e 100644 --- a/hw/pcnet-pci.c +++ b/hw/pcn

[Qemu-devel] [RFC PATCH 01/13] Generic DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This introduces replacements for memory access functions like cpu_physical_memory_read(). The new interface can handle address translation and access checking through an IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- Makefile.target |2 +- hw/dma_rw.c | 155

[Qemu-devel] [RFC PATCH 08/13] es1370: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/es1370.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/es1370.c b/hw/es1370.c index 40cb48c..1645dbd 100644 --- a/hw/es1370.c +++ b/hw/es1370.c @@ -802

[Qemu-devel] [RFC PATCH 07/13] ac97: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/ac97.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/ac97.c b/hw/ac97.c index d71072d..bad38fb 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -223,7 +223,

[Qemu-devel] [RFC PATCH 09/13] e1000: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/e1000.c | 27 +++ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/hw/e1000.c b/hw/e1000.c index f160bfc..acfd329 100644 --- a/hw/e1000.c +++

[Qemu-devel] [RFC PATCH 02/13] pci: add IOMMU support via the generic DMA layer

2011-05-31 Thread Eduard - Gabriel Munteanu
IOMMUs can now be hooked onto the PCI bus. This makes use of the generic DMA layer. Signed-off-by: Eduard - Gabriel Munteanu --- hw/pci.c |7 +++ hw/pci.h |9 + hw/pci_internals.h |1 + 3 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw

[Qemu-devel] [RFC PATCH 04/13] ide: use the DMA memory access interface for PCI IDE controllers

2011-05-31 Thread Eduard - Gabriel Munteanu
Emulated PCI IDE controllers now use the memory access interface. This also allows an emulated IOMMU to translate and check accesses. Map invalidation results in cancelling DMA transfers. Since the guest OS can't properly recover the DMA results in case the mapping is changed, this is a fairly goo

[Qemu-devel] [RFC PATCH 05/13] rtl8139: use the DMA memory access interface

2011-05-31 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/rtl8139.c | 98 ++--- 1 files changed, 52 insertions(+), 46 deletions(-) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index c7c7a3c..

[Qemu-devel] [RFC PATCH 00/13] AMD IOMMU emulation patches, another try

2011-05-31 Thread Eduard - Gabriel Munteanu
Hi, Again, sorry for taking so long, but I just don't send stuff without looking through it. This is meant to go into Michael's PCI branch, if it does. Some of the changes include: - some fixes (one thanks to David Gibson) and cleanups - macro magic for exporting clones of the DMA interfa

Re: [Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-05-31 Thread Stefan Hajnoczi
On Wed, Jun 1, 2011 at 2:06 AM, Wei Liu wrote: > I'm programming for virtio disk support in Xen tool stack. I would > like to know the limitation of virtio disk. I'm interested what you are implementing - a virtio-blk backend for Xen (which would basically mean vhost-blk)? > That is, what's the

Re: [Qemu-devel] virtio scsi host draft specification, v2

2011-05-31 Thread Stefan Hajnoczi
On Mon, May 30, 2011 at 10:22 AM, Paolo Bonzini wrote: > On 05/28/2011 09:33 PM, Stefan Hajnoczi wrote: >>> Requests have the following format: >>> >>>     struct virtio_scsi_req_cmd { >>>         u8 lun[8]; >>>         u64 id; >>>         u8 task_attr; >>>         u8 prio; >>>         u8 crn; >>>

[Qemu-devel] [Qemu-Devel] : Is Virtual Disk supported for arm linux as guest?

2011-05-31 Thread मनीष शर्मा
Hello All, I have tried steps provided in http://en.wikibooks.org/wiki/QEMU/Images. Ours is an evironment with arm-linux as guest and host is linux-x86. How should I support a virtual disk, in such an environment ? -- -मनीष

Re: [Qemu-devel] VMDK development plan for Summer of Code 2011

2011-05-31 Thread Stefan Hajnoczi
On Sun, May 29, 2011 at 2:19 PM, Fam Zheng wrote: > As a project of Google Summer of Code 2011, I'm now working on > improving VMDK image support. There are many subformats of VMDK > virtual disk, some of which have separate descriptor file and others > don't, some allocate space at once and some

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Zhi Yong Wu
On Tue, May 31, 2011 at 03:55:49PM -0400, Vivek Goyal wrote: >Date: Tue, 31 May 2011 15:55:49 -0400 >From: Vivek Goyal >To: Zhi Yong Wu >Cc: kw...@redhat.com, aligu...@us.ibm.com, stefa...@linux.vnet.ibm.com, > k...@vger.kernel.org, guijianf...@cn.fujitsu.com, > qemu-devel@nongnu.org,

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Zhi Yong Wu
On Tue, May 31, 2011 at 03:55:49PM -0400, Vivek Goyal wrote: >Date: Tue, 31 May 2011 15:55:49 -0400 >From: Vivek Goyal >To: Zhi Yong Wu >Cc: kw...@redhat.com, aligu...@us.ibm.com, stefa...@linux.vnet.ibm.com, > k...@vger.kernel.org, guijianf...@cn.fujitsu.com, > qemu-devel@nongnu.org,

Re: [Qemu-devel] [PATCH uq/master V3] kvm: Add CPUID support for VIA CPU

2011-05-31 Thread BrillyWu
From: brill...@viatech.com.cn When KVM is running on VIA CPU with host cpu's model, the feautures of VIA CPU will be passed into kvm guest by calling the CPUID instruction for Centaur. Signed-off-by: BrillyWu Signed-off-by: KaryJin --- target-i386/cpu.h |7 target-i386/cpuid.c | 53

[Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-05-31 Thread Wei Liu
Hi, all. I'm programming for virtio disk support in Xen tool stack. I would like to know the limitation of virtio disk. That is, what's the maximum number of disks supported through virtio bus, and what's the maximum number of partitions supported per disk. If I'm posting to the wrong list, plea

Re: [Qemu-devel] [PATCH 2/2] Add support for Zipit Z2 machine

2011-05-31 Thread Peter Maydell
On 31 May 2011 15:16, Vasily Khoruzhick wrote: > +static uint32_t zipit_lcd_transfer(SSISlave *dev, uint32_t value) > +{ > +    ZipitLCD *z = FROM_SSI_SLAVE(ZipitLCD, dev); > +    if (z->enabled) { > +        z->buf[z->pos] = value & 0xff; > +        z->pos++; > +    } > +    if (z->pos == 3) { >

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Anthony Liguori
On 05/31/2011 04:43 PM, Jan Kiszka wrote: On 2011-05-31 23:11, Andreas Färber wrote: Am 31.05.2011 um 21:49 schrieb Anthony Liguori: At one point in time, it was the only way to get a high res clock. Now, it Just Works provided you don't have an ancient kernel. I'm curious, what's ancient the

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 02:24 PM, Vivek Goyal wrote: On Tue, May 31, 2011 at 01:39:47PM -0500, Anthony Liguori wrote: On 05/31/2011 12:59 PM, Vivek Goyal wrote: Ok, so we seem to be talking of two requirements. - A consistent experience to guest - Isolation between VMs. If this qcow2 mapping/metada ove

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 03:48 PM, Mike Snitzer wrote: On Tue, May 31 2011 at 2:39pm -0400, Anthony Liguori wrote: Are you referring to merging taking place which can change the definition of IOPS as seen by guest? No, with qcow2, it may take multiple real IOPs for what the guest sees as an IOP. That

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Jan Kiszka
On 2011-05-31 23:11, Andreas Färber wrote: > Am 31.05.2011 um 21:49 schrieb Anthony Liguori: > >> On 05/31/2011 11:16 AM, Alexander Graf wrote: >>> >>> On 31.05.2011, at 17:48, Anthony Liguori wrote: >>> On 05/31/2011 10:44 AM, Alexander Graf wrote: > > On 31.05.2011, at 16:54, Jan Ki

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Mike Snitzer
On Tue, May 31 2011 at 2:39pm -0400, Anthony Liguori wrote: > On 05/31/2011 12:59 PM, Vivek Goyal wrote: > >On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: > >>On 05/31/2011 09:04 AM, Vivek Goyal wrote: > >>>On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: >

[Qemu-devel] Hello Would You Like To Earn

2011-05-31 Thread Sharon . Burns
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3brnlpx Regards, Sharon Burns Survey Human Resources Dept.

Re: [Qemu-devel] [RFC] darwin: work around sigfd

2011-05-31 Thread Andreas Färber
Am 30.05.2011 um 10:03 schrieb Paolo Bonzini: On 05/29/2011 06:50 PM, Andreas Färber wrote: Am 08.05.2011 um 11:15 schrieb Andreas Färber: Am 05.05.2011 um 15:15 schrieb Alexander Graf: On 05.05.2011, at 14:56, Paolo Bonzini wrote: On 05/05/2011 11:36 AM, Alexander Graf wrote: When runnin

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Anthony Liguori
On 05/31/2011 11:16 AM, Alexander Graf wrote: On 31.05.2011, at 17:48, Anthony Liguori wrote: On 05/31/2011 10:44 AM, Alexander Graf wrote: On 31.05.2011, at 16:54, Jan Kiszka wrote: On 2011-05-31 16:26, Anthony Liguori wrote: On 05/31/2011 09:06 AM, Jan Kiszka wrote: On 2011-05-31 15:47

Re: [Qemu-devel] [PATCH 1/3] virtio-9p: Move 9p device registration into virtio-9p.c

2011-05-31 Thread Venkateswararao Jujjuri
On 04/27/2011 04:46 AM, Aneesh Kumar K.V wrote: This patch move the 9p device registration into its own file All other PCI devices registration is in this file. Not sure the need to move 9p alone. Also s390x doesn't support PCI..hence this breaks the s390x build. Thanks, JV Signed-off-by:

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 01:39:47PM -0500, Anthony Liguori wrote: > On 05/31/2011 12:59 PM, Vivek Goyal wrote: > >On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: > >>On 05/31/2011 09:04 AM, Vivek Goyal wrote: > >>>On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: > >>

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Andreas Färber
Am 31.05.2011 um 15:47 schrieb Anthony Liguori: On 05/29/2011 04:50 PM, Andreas Färber wrote: BeOS and Haiku don't define SIGIO. When undefined, it won't arrive and doesn't need to be blocked. Signed-off-by: Andreas Färber Anything to do with signal masks is never a trivial patch BTW... Th

Re: [Qemu-devel] [PATCH v2] audio: fix integer overflow expression

2011-05-31 Thread Andreas Färber
Am 31.05.2011 um 20:40 schrieb Peter Maydell: From: Juha Riihimäki Fix an integer overflow that can happen for signed 32 bit types when using FLOAT_MIXENG. (Note that at the moment this is only true when using the MacOSX coreaudio audio driver.) Signed-off-by: Juha Riihimäki [Peter Maydell:

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Andreas Färber
Am 31.05.2011 um 21:49 schrieb Anthony Liguori: On 05/31/2011 11:16 AM, Alexander Graf wrote: On 31.05.2011, at 17:48, Anthony Liguori wrote: On 05/31/2011 10:44 AM, Alexander Graf wrote: On 31.05.2011, at 16:54, Jan Kiszka wrote: On 2011-05-31 16:26, Anthony Liguori wrote: Is there any

Re: [Qemu-devel] [PATCH] audio: fix integer overflow expression

2011-05-31 Thread Andreas Färber
Am 31.05.2011 um 19:28 schrieb Peter Maydell: From: Juha Riihimäki Fix an integer overflow that can happen for signed 32 bit types when using FLOAT_MIXENG. (Note that at the moment this is only true when using the MacOSX coreaudio audio driver.) Missing Riku's SoB compared to the link you g

[Qemu-devel] [PATCH v2] audio: fix integer overflow expression

2011-05-31 Thread Peter Maydell
From: Juha Riihimäki Fix an integer overflow that can happen for signed 32 bit types when using FLOAT_MIXENG. (Note that at the moment this is only true when using the MacOSX coreaudio audio driver.) Signed-off-by: Juha Riihimäki [Peter Maydell: Removed unnecessary casts] Signed-off-by: Peter M

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 12:59 PM, Vivek Goyal wrote: On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: On 05/31/2011 09:04 AM, Vivek Goyal wrote: On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: On 05/31/2011 08:45 AM, Vivek Goyal wrote: On Mon, May 30, 2011 at 01:09:23PM

Re: [Qemu-devel] [PATCH] Cocoa: avoid warning related to multiple method definitions

2011-05-31 Thread Andreas Färber
Hello Alexandre, Am 30.05.2011 um 00:36 schrieb Alexandre Raymond: This fix forces a message to be sent to the handleEvent method of the QemuCocoaView class instead of letting the system determine the right method. This is caused by the fact that the cocoaView variable is a generic 'id'. I

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-05-31 Thread Marcelo Tosatti
On Sun, May 29, 2011 at 11:54:25AM +0300, Avi Kivity wrote: > On 05/24/2011 12:31 AM, Marcelo Tosatti wrote: > >Support live image copy + switch. That is, copy an image backing > >a guest hard disk to a destination image (destination image must > >be created separately), and switch to this copy. >

Re: [Qemu-devel] [PATCH v2] audio: fix integer overflow expression

2011-05-31 Thread malc
On Tue, 31 May 2011, Peter Maydell wrote: > From: Juha Riihim?ki > > Fix an integer overflow that can happen for signed 32 bit types > when using FLOAT_MIXENG. (Note that at the moment this is only true > when using the MacOSX coreaudio audio driver.) > > Signed-off-by: Juha Riihim?ki > [Peter

[Qemu-devel] [PULL] libcacard libtoolized + usb-ccid fix

2011-05-31 Thread Alon Levy
Hi, This pull request includes the libcacard.la library target and a memory leak fix by Markus. Please pull. The following changes since commit b1d7d2b93a1d6b2d2848b616cc35acdf521c923c: Merge remote-tracking branch 'stefanha/trivial-patches' into staging (2011-05-31 08:23:11 -0500) are avail

[Qemu-devel] Hello Would You Like To Earn

2011-05-31 Thread Sharon . Burns
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3brnlpx Regards, Sharon Burns Survey Human Resources Dept.

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: [..] > 3.) How the users enable and play with it > QEMU -drive option will be extended so that disk I/O limits can be > specified on its command line, such as -drive [iops=xxx,][throughput=xxx] or > -drive [iops_rd=xxx,][iops_w

Re: [Qemu-devel] [PULL] Few VirtFS patches.

2011-05-31 Thread Venkateswararao Jujjuri
On 05/31/2011 08:31 AM, Venkateswararao Jujjuri wrote: Please hold on this request. Adding one more patch. Will send a new request. Thanks, JV The following changes since commit b1d7d2b93a1d6b2d2848b616cc35acdf521c923c: Anthony Liguori (1): Merge remote-tracking branch 'stefanha/tri

Re: [Qemu-devel] [PATCH] timer: drop HPET and RTC

2011-05-31 Thread Paolo Bonzini
On 05/31/2011 05:53 PM, Anthony Liguori wrote: dynticks will provide equally good timer granularity on all modern Linux systems. This is more or less dead code these days. Signed-off-by: Anthony Liguori Acked-by: Paolo Bonzini Bonus points for making a dynticks version of setitimer. Paolo

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Alexander Graf
On 31.05.2011, at 17:48, Anthony Liguori wrote: > On 05/31/2011 10:44 AM, Alexander Graf wrote: >> >> On 31.05.2011, at 16:54, Jan Kiszka wrote: >> >>> On 2011-05-31 16:26, Anthony Liguori wrote: On 05/31/2011 09:06 AM, Jan Kiszka wrote: > On 2011-05-31 15:47, Anthony Liguori wrote: >>

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-05-31 Thread Marcelo Tosatti
On Tue, May 31, 2011 at 07:14:57PM +0300, Avi Kivity wrote: > On 05/31/2011 07:06 PM, Marcelo Tosatti wrote: > >On Sun, May 29, 2011 at 11:54:25AM +0300, Avi Kivity wrote: > >> On 05/24/2011 12:31 AM, Marcelo Tosatti wrote: > >> >Support live image copy + switch. That is, copy an image backing >

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-05-31 Thread Avi Kivity
On 05/31/2011 07:38 PM, Marcelo Tosatti wrote: > > >Disadvantages: > > > >- Guest write performance is affected during copying (guest writes > >compete with stream of writes from copy). > > Competes anyway with your background task? No because guest writes are to the source and copy wri

Re: [Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-05-31 Thread Richard Henderson
On 05/31/2011 07:56 AM, Nathan Whitehorn wrote: > #if defined(TARGET_PPC64) > -if (!ctx->sf_mode) { > TCGv t0 = tcg_temp_new(); > TCGv t1 = tcg_temp_new(); You're removing a scope in which these variables were defined. That seems wrong, at minimum. r~

Re: [Qemu-devel] [PATCH] audio: fix integer overflow expression

2011-05-31 Thread malc
On Tue, 31 May 2011, Peter Maydell wrote: > From: Juha Riihim?ki > > Fix an integer overflow that can happen for signed 32 bit types > when using FLOAT_MIXENG. (Note that at the moment this is only true > when using the MacOSX coreaudio audio driver.) > > Signed-off-by: Juha Riihim?ki > Review

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-05-31 Thread Avi Kivity
On 05/31/2011 07:06 PM, Marcelo Tosatti wrote: On Sun, May 29, 2011 at 11:54:25AM +0300, Avi Kivity wrote: > On 05/24/2011 12:31 AM, Marcelo Tosatti wrote: > >Support live image copy + switch. That is, copy an image backing > >a guest hard disk to a destination image (destination image must >

Re: [Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-05-31 Thread Alexander Graf
On 31.05.2011, at 16:56, Nathan Whitehorn wrote: > The mtmsr instruction is required not to modify the upper 32-bits of the > machine state register, but checks the current value of MSR[SF] to decide > whether to do this. This has the effect of zeroing the upper 32 bits of the > MSR whenever m

Re: [Qemu-devel] [PATCH] audio: fix integer overflow expression

2011-05-31 Thread Peter Maydell
This definitely had malc on the cc list when I sent it; as far as I can tell the mailing list server ate that cc... -- PMM On 31 May 2011 18:28, Peter Maydell wrote: > From: Juha Riihimäki > > Fix an integer overflow that can happen for signed 32 bit types > when using FLOAT_MIXENG. (Note that

Re: [Qemu-devel] QEMU for ppc440 on i386 host

2011-05-31 Thread Alexander Graf
On 31.05.2011, at 18:05, Lê Đức Tài wrote: > Hi! > My name is Tai. > Sorry for bother you! > > I have a question about QEMU for powerpc. > Can QEMU emulate the ppc440 on a i386 host? > I mean it is full-system emulation. > Because when I'm trying to run linux ppc440 with qemu on my i386 PC > I

Re: [Qemu-devel] [PATCH] ppc: provide PIR register on all book-S CPUs

2011-05-31 Thread Alexander Graf
On 31.05.2011, at 16:52, Nathan Whitehorn wrote: > The PIR register is architecturally specified on all PowerPC non-embedded > CPUs, but currently is only available on the 604, 620, and G4. Add it to all > 601-derived CPUs. Please add a signed-off-by line. Also, please CC me on all PPC related

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 09:25:31AM -0500, Anthony Liguori wrote: > On 05/31/2011 09:04 AM, Vivek Goyal wrote: > >On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: > >>On 05/31/2011 08:45 AM, Vivek Goyal wrote: > >>>On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > He

[Qemu-devel] [PATCH] audio: fix integer overflow expression

2011-05-31 Thread Peter Maydell
From: Juha Riihimäki Fix an integer overflow that can happen for signed 32 bit types when using FLOAT_MIXENG. (Note that at the moment this is only true when using the MacOSX coreaudio audio driver.) Signed-off-by: Juha Riihimäki Reviewed-by: Peter Maydell --- I'm trying to get random patches

[Qemu-devel] [PATCH] smc91c111: qdevify reset

2011-05-31 Thread Peter Maydell
From: Juha Riihimäki Register the smc91c111 reset function as a qdev reset function. Signed-off-by: Juha Riihimäki Reviewed-by: Peter Maydell --- hw/smc91c111.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hw/smc91c111.c b/hw/smc91c111.c index dafea5c..701b

[Qemu-devel] Hello Would You Like To Earn

2011-05-31 Thread Sharon . Burns
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3brnlpx Regards, Sharon Burns Survey Human Resources Dept.

[Qemu-devel] QEMU for ppc440 on i386 host

2011-05-31 Thread Lê Đức Tài
Hi! My name is Tai. Sorry for bother you! I have a question about QEMU for powerpc. Can QEMU emulate the ppc440 on a i386 host? I mean it is full-system emulation. Because when I'm trying to run linux ppc440 with qemu on my i386 PC I alway get the error like that: $ qemu-system-ppc -M bamboo -ke

[Qemu-devel] [PATCH] Fix build on FreeBSD

2011-05-31 Thread Nathan Whitehorn
Add some includes required to build qemu on FreeBSD. --- bsd-user/syscall.c |2 ++ iohandler.c|1 + os-posix.c |4 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c index eb1cdf2..7b49f54 100644 --- a/bsd-user/

Re: [Qemu-devel] [OpenBIOS] solaris 8 on sparc, webstart launcher crashing

2011-05-31 Thread Brian Vandenberg
> Yeah - at this point the kernel should have taken over completely and so I > expect that you're hitting an emulation bug (probably the Solaris compiler > emits certain instruction sequences not used by gcc which is why this has > only just come to light). Alright. I'll do what I can. Thanks

[Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-05-31 Thread Nathan Whitehorn
The mtmsr instruction is required not to modify the upper 32-bits of the machine state register, but checks the current value of MSR[SF] to decide whether to do this. This has the effect of zeroing the upper 32 bits of the MSR whenever mtmsr is executed in 64-bit mode. Unconditionally preserve

[Qemu-devel] [PATCH] timer: drop HPET and RTC

2011-05-31 Thread Anthony Liguori
dynticks will provide equally good timer granularity on all modern Linux systems. This is more or less dead code these days. Signed-off-by: Anthony Liguori diff --git a/qemu-timer.c b/qemu-timer.c index 4141b6e..72066c7 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -39,15 +39,6 @@ #include

[Qemu-devel] [PATCH] ppc: provide PIR register on all book-S CPUs

2011-05-31 Thread Nathan Whitehorn
The PIR register is architecturally specified on all PowerPC non-embedded CPUs, but currently is only available on the 604, 620, and G4. Add it to all 601-derived CPUs. target-ppc/translate_init.c | 20 +--- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/targ

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Anthony Liguori
On 05/31/2011 10:44 AM, Alexander Graf wrote: On 31.05.2011, at 16:54, Jan Kiszka wrote: On 2011-05-31 16:26, Anthony Liguori wrote: On 05/31/2011 09:06 AM, Jan Kiszka wrote: On 2011-05-31 15:47, Anthony Liguori wrote: On 05/29/2011 04:50 PM, Andreas Färber wrote: BeOS and Haiku don't defi

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Alexander Graf
On 31.05.2011, at 16:54, Jan Kiszka wrote: > On 2011-05-31 16:26, Anthony Liguori wrote: >> On 05/31/2011 09:06 AM, Jan Kiszka wrote: >>> On 2011-05-31 15:47, Anthony Liguori wrote: On 05/29/2011 04:50 PM, Andreas Färber wrote: > BeOS and Haiku don't define SIGIO. When undefined, it won'

[Qemu-devel] [PULL] Few VirtFS patches.

2011-05-31 Thread Venkateswararao Jujjuri
The following changes since commit b1d7d2b93a1d6b2d2848b616cc35acdf521c923c: Anthony Liguori (1): Merge remote-tracking branch 'stefanha/trivial-patches' into staging are available in the git repository at: git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony Aneesh Kumar K.V (3):

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Ryan Harper
* Daniel P. Berrange [2011-05-31 09:25]: > On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Y

[Qemu-devel] [PATCH] s390x: implement lrvgr

2011-05-31 Thread Alexander Graf
The LRVGR instruction was missing. Implement it, so everyone's happy. Reported-by: Balazs Kutil Signed-off-by: Alexander Graf --- target-s390x/translate.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index afeb5e6

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Jan Kiszka
On 2011-05-31 16:26, Anthony Liguori wrote: > On 05/31/2011 09:06 AM, Jan Kiszka wrote: >> On 2011-05-31 15:47, Anthony Liguori wrote: >>> On 05/29/2011 04:50 PM, Andreas Färber wrote: BeOS and Haiku don't define SIGIO. When undefined, it won't arrive and doesn't need to be blocked.

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 03:19:56PM +0100, Daniel P. Berrange wrote: > On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > > On Mon, May 30, 2011

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Anthony Liguori
On 05/31/2011 09:06 AM, Jan Kiszka wrote: On 2011-05-31 15:47, Anthony Liguori wrote: On 05/29/2011 04:50 PM, Andreas Färber wrote: BeOS and Haiku don't define SIGIO. When undefined, it won't arrive and doesn't need to be blocked. Signed-off-by: Andreas Färber Anything to do with signal mask

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 09:04 AM, Vivek Goyal wrote: On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: On 05/31/2011 08:45 AM, Vivek Goyal wrote: On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: Hello, all, I have prepared to work on a feature called "Disk I/O limits" fo

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > > > Hello, all, > > > > > > > >

[Qemu-devel] [PATCH 1/2] pxa2xx_lcd: add proper rotation support

2011-05-31 Thread Vasily Khoruzhick
Until now, pxa2xx_lcd only supported 90deg rotation, but some machines (for example Zipit Z2) needs 270deg rotation. Signed-off-by: Vasily Khoruzhick --- hw/framebuffer.c |2 + hw/pxa2xx_lcd.c | 80 - input.c | 34

[Qemu-devel] [PATCH 2/2] Add support for Zipit Z2 machine

2011-05-31 Thread Vasily Khoruzhick
Zipit Z2 is small PXA270 based handheld. Signed-off-by: Vasily Khoruzhick --- Makefile.target |1 + hw/z2.c | 302 +++ 2 files changed, 303 insertions(+), 0 deletions(-) create mode 100644 hw/z2.c diff --git a/Makefile.target b/M

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Avi Kivity
On 05/31/2011 04:47 PM, Anthony Liguori wrote: On 05/29/2011 04:50 PM, Andreas Färber wrote: BeOS and Haiku don't define SIGIO. When undefined, it won't arrive and doesn't need to be blocked. Signed-off-by: Andreas Färber Anything to do with signal masks is never a trivial patch BTW... But I

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > > Hello, all, > > > > > > I have prepared to work on a feature called "Disk I/O limits" for >

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Jan Kiszka
On 2011-05-31 15:47, Anthony Liguori wrote: > On 05/29/2011 04:50 PM, Andreas Färber wrote: >> BeOS and Haiku don't define SIGIO. When undefined, it won't arrive >> and doesn't need to be blocked. >> >> Signed-off-by: Andreas Färber > > Anything to do with signal masks is never a trivial patch BTW

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Tue, May 31, 2011 at 08:50:40AM -0500, Anthony Liguori wrote: > On 05/31/2011 08:45 AM, Vivek Goyal wrote: > >On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > >>Hello, all, > >> > >> I have prepared to work on a feature called "Disk I/O limits" for > >> qemu-kvm projeect. > >>

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > Hello, all, > > > > I have prepared to work on a feature called "Disk I/O limits" for > > qemu-kvm projeect. > > This feature will enable the user to cap disk I/

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Anthony Liguori
On 05/31/2011 08:45 AM, Vivek Goyal wrote: On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: Hello, all, I have prepared to work on a feature called "Disk I/O limits" for qemu-kvm projeect. This feature will enable the user to cap disk I/O amount performed by a VM.It is i

Re: [Qemu-devel] [Bug 788697] Re: [PowerPC] [patch] mtmsr does not preserve high bits of MSR

2011-05-31 Thread Alexander Graf
On 31.05.2011, at 15:35, Nathan Whitehorn wrote: > On 05/26/11 18:47, agraf wrote: >> On 27.05.2011, at 01:33, Nathan Whitehorn wrote: >> >>> On 05/26/11 11:45, agraf wrote: On 26.05.2011, at 18:09, Nathan Whitehorn wrote: > ** Patch added: "mtmstr.diff" > > https://bug

Re: [Qemu-devel] [PATCH] Use SIGIO with caution

2011-05-31 Thread Anthony Liguori
On 05/29/2011 04:50 PM, Andreas Färber wrote: BeOS and Haiku don't define SIGIO. When undefined, it won't arrive and doesn't need to be blocked. Signed-off-by: Andreas Färber Anything to do with signal masks is never a trivial patch BTW... But I actually think explicit handling of SIGIO is un

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-05-31 Thread Vivek Goyal
On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > Hello, all, > > I have prepared to work on a feature called "Disk I/O limits" for > qemu-kvm projeect. > This feature will enable the user to cap disk I/O amount performed by a > VM.It is important for some storage resources

Re: [Qemu-devel] [PATCH] #include cleanliness

2011-05-31 Thread Anthony Liguori
On 05/30/2011 04:06 AM, Avi Kivity wrote: On 05/30/2011 01:06 AM, Anthony Liguori wrote: On 05/19/2011 09:17 AM, Avi Kivity wrote: My mother always told me to explicitly #include any headers need to compile a file, instead of relying on other #includes to bring them in. This patch fixes up targ

Re: [Qemu-devel] [Bug 788697] Re: [PowerPC] [patch] mtmsr does not preserve high bits of MSR

2011-05-31 Thread Nathan Whitehorn
On 05/26/11 18:47, agraf wrote: > On 27.05.2011, at 01:33, Nathan Whitehorn wrote: > >> On 05/26/11 11:45, agraf wrote: >>> On 26.05.2011, at 18:09, Nathan Whitehorn wrote: >>> ** Patch added: "mtmstr.diff" https://bugs.launchpad.net/bugs/788697/+attachment/2143748/+files/mtmstr.

Re: [Qemu-devel] [PATCH 3/3] QMP: Introduce the BLOCK_MEDIA_EJECT event

2011-05-31 Thread Anthony Liguori
On 05/31/2011 08:35 AM, Luiz Capitulino wrote: On Tue, 31 May 2011 10:12:17 +0200 Do we break anything if we make eject really eject the medium (we have a virtual tray status now) instead of just closing the image? I don't think so. I guess users/clients really have the expectation that the on

Re: [Qemu-devel] [PULL] Trivial patches for May 22 to May 29 2011

2011-05-31 Thread Anthony Liguori
On 05/29/2011 06:36 AM, Stefan Hajnoczi wrote: The following changes since commit 2eb9f241824d000fcd90bd7f4b49e40b88e62975: bitbang_i2c: Fix spurious slave read after NACK (2011-05-28 16:20:43 +0200) are available in the git repository at: ssh://repo.or.cz/srv/git/qemu/stefanha.git trivia

Re: [Qemu-devel] [PULL] virtio-serial updates

2011-05-31 Thread Anthony Liguori
On 05/27/2011 05:20 AM, Amit Shah wrote: Hello, Please pull to get virtio-serial cleanups from Markus and a move to bh for flushing out throttled data from Alon. (git mirror might take some time to sync). The following changes since commit aa29141d84d58171c2d219f0a4b599bd76fb2e37: Merge re

Re: [Qemu-devel] [PULL v5 00/25] SCSI subsystem improvements

2011-05-31 Thread Anthony Liguori
On 05/26/2011 05:56 AM, Paolo Bonzini wrote: The following changes since commit aa29141d84d58171c2d219f0a4b599bd76fb2e37: Merge remote-tracking branch 'kraxel/CVE-2011-1751' into staging (2011-05-25 07:04:13 -0500) are available in the git repository at: git://github.com/bonzini/qemu.gi

Re: [Qemu-devel] [PULL] usb patch queue: initial usb 2.0 support.

2011-05-31 Thread Anthony Liguori
On 05/26/2011 05:13 AM, Gerd Hoffmann wrote: On 05/23/11 11:43, Gerd Hoffmann wrote: Hi, Here is the usb patch queue, with EHCI support being the outstanding new feature. Most patches are unmodified. Patch #5 got a better commit message. The EHCI patch now lists all contributes in the commit me

  1   2   >