[Qemu-devel] [Bug 688085]

2011-01-29 Thread Zhiyuan-lv
Ubuntu 10.10 will update kernel to contain a back ported kvm fix, which probably in the next version after 2.6.35.24. Meanwhile, it is possible to manually build newer version of kvm to have the problem fixed. The tar ball of kvm source code could be downloaded from below: http://sourceforge.net/

Re: [Qemu-devel] [PATCH v4] New trace-event backend: stderr

2011-01-29 Thread Blue Swirl
Thanks, applied. On Thu, Jan 27, 2011 at 9:24 AM, Fabien Chouteau wrote: > This backend sends trace events to standard error output during the emulation. > > Also add a "--list-backends" option to tracetool, so configure script can > display the list of available backends. > > Signed-off-by: Fabi

Re: [Qemu-devel] [PATCH 1/1] Use "pci.0" as bus->name for PCI-busses like qemu-kvm does already

2011-01-29 Thread Blue Swirl
On Fri, Jan 28, 2011 at 3:54 PM, Niels de Vos wrote: > From: Niels de Vos > > This should fix issues with qemu-system-{arm,ppc} and possibly others > where libvirt passes bus=pci.0 in the -device options. Nack, please see the list archives for discussion.

[Qemu-devel] Re: [PATCH 00/13] AMD IOMMU emulation patchset

2011-01-29 Thread malc
On Sat, 29 Jan 2011, Eduard - Gabriel Munteanu wrote: > Hi everybody, > > I'm a bit late, I know, school kept me busy. > > But here it is. I hope I answered your previous concerns in this patchset. Let > me know what you think, I hope this gets merged soon. Some testing would be > great. > > Th

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

2011-01-29 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] [PATCH 11/13] pcnet: use the DMA memory access interface

2011-01-29 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 339a401..3f55c42 100644 --- a/hw/pcnet-pci.c +++ b/hw/pcn

[Qemu-devel] [Bug 638955] Re: emulated netcards don't work with recent sunos kernel

2011-01-29 Thread Daniel Kvasnicka
I can confirm this. Just spent hours studying my network configuration in OpenIndiana b148 running in Qemu KVM and figuring out what's wrong... Everything's OK, network is up but I won't even ping the gateway. Please fix this soon! -- You received this bug notification because you are a member

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

2011-01-29 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/rtl8139.c | 100 +- 1 files changed, 57 insertions(+), 43 deletions(-) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index a22530c.

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

2011-01-29 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 | 54 +- 1 files changed, 37 insertions(+), 17 deletions(-) diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index 240e840..

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

2011-01-29 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 0129ae3..76bd631 100644 --- a/hw/

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

2011-01-29 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 b9b822f..01b7f8b 100644 --- a/hw/usb-

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

2011-01-29 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/eepro100.c | 97 +--- 1 files changed, 57 insertions(+), 40 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index edf48f6

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

2011-01-29 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..8b1a405 100644 --- a/hw/es1370.c +++ b/hw/es1370.c @@ -802

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

2011-01-29 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..383c1b3 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -223,7 +223,

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

2011-01-29 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 | 694 +++ hw/pc.c |2 + h

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

2011-01-29 Thread Eduard - Gabriel Munteanu
This allows the device to work properly with an emulated IOMMU. Signed-off-by: Eduard - Gabriel Munteanu --- hw/e1000.c | 26 +++--- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/hw/e1000.c b/hw/e1000.c index af101bd..0d71650 100644 --- a/hw/e1000.c +++ b

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

2011-01-29 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 |7 +++ hw/pci_internals.h |1 + 3 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/p

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

2011-01-29 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 | 124

[Qemu-devel] [PATCH 00/13] AMD IOMMU emulation patchset

2011-01-29 Thread Eduard - Gabriel Munteanu
Hi everybody, I'm a bit late, I know, school kept me busy. But here it is. I hope I answered your previous concerns in this patchset. Let me know what you think, I hope this gets merged soon. Some testing would be great. The patchset is based on mst/pci. I'll send the SeaBIOS patches soon.

Re: [Qemu-devel] [PATCH 2/2] prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels

2011-01-29 Thread Aurelien Jarno
On Tue, Jan 18, 2011 at 10:43:56PM +0100, Hervé Poussineau wrote: > Cc: Andreas Färber > Signed-off-by: Hervé Poussineau > --- > hw/ppc_prep.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied. > diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c > index 6b22122..6c1499a 10

Re: [Qemu-devel] [PATCH 1/2] prep: Remove bogus BIOS size check

2011-01-29 Thread Aurelien Jarno
On Tue, Jan 18, 2011 at 10:43:55PM +0100, Hervé Poussineau wrote: > From: Andreas Färber > > r3480 added this check to account for the entry vector 0xfff00100 to be > available for CPUs that need it. Today however, the NIP is not yet > initialized at this point (zero), so the check always trigger

Re: [Qemu-devel] [PATCH v2] ui: Load QEMU icon from SDL user interface

2011-01-29 Thread Stefan Weil
Am 29.01.2011 13:43, schrieb Andreas Färber: Hi Stefan, Am 28.01.2011 um 19:53 schrieb Stefan Weil: Load an optional QEMU icon file. If there is no icon file named qemu-icon.bmp in QEMU's default search path, QEMU will run with the usual system default icon. A matching icon file will be load

Re: [Qemu-devel] [PATCH] target-arm: Fix Neon VQ(R)DMULH.S16 instructions

2011-01-29 Thread Aurelien Jarno
On Thu, Jan 27, 2011 at 07:18:35PM +, Peter Maydell wrote: > From: Juha Riihimäki > > Correct an error in the implementation of the 16 bit > forms of VQ(R)DMULH, bringing them into line with the > 32 bit implementation. > > Signed-off-by: Juha Riihimäki > Reviewed-by: Peter Maydell > --- >

Re: [Qemu-devel] Re: [0.14] Queue of 0.14 patches/pull?

2011-01-29 Thread Yoshiaki Tamura
2011/1/29 Anthony Liguori : > On 01/28/2011 07:33 AM, Paolo Bonzini wrote: >> >> On 01/28/2011 11:00 AM, Michael Tokarev wrote: >>> >>> 28.01.2011 11:06, Yoshiaki Tamura wrote: >>> [] I would like Kemari to be included for 0.14.  Thanks to many valuable comments from various reviewer

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-29 Thread Yoshiaki Tamura
2011/1/29 Paolo Bonzini : > On 01/29/2011 12:32 PM, Yoshiaki Tamura wrote: >>> >>> >  But a hypothetical -incoming unix.*,ft_mode would have to be >>> > implemented >>> >  twice. >> >> You mean Kemari should be able to use with unix domain sockets, >> or other local communication patch?  Since Kema

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-29 Thread Stefan Hajnoczi
On Sat, Jan 29, 2011 at 10:50 AM, Dushyant Bansal wrote: > I am interested in working on this project as part of gsoc. I have prior > experience working with qemu. Great. I have put up a more detailed description on the QEMU GSoC 2011 page: http://wiki.qemu.org/Google_Summer_of_Code_2011#QCOW2_.

Re: [Qemu-devel] Re: [PATCH 1/5] SharpSL scoop device - convert to qdev

2011-01-29 Thread andrzej zaborowski
Hi, On 26 January 2011 17:55, Dmitry Eremin-Solenikov wrote: > So what about theese patches? > > On 1/20/11, Dmitry Eremin-Solenikov wrote: >> Convert SharpSL scoop device to qdev, remove lots of supporting code, as >> lot of init and gpio related things can now be done automagically. >> >> Sign

Re: [Qemu-devel] [PATCH v2] ui: Load QEMU icon from SDL user interface

2011-01-29 Thread Andreas Färber
Hi Stefan, Am 28.01.2011 um 19:53 schrieb Stefan Weil: Load an optional QEMU icon file. If there is no icon file named qemu-icon.bmp in QEMU's default search path, QEMU will run with the usual system default icon. A matching icon file will be loaded and used by X Windows managers or MS Window

Re: [Qemu-devel] [PATCH] Added ppc440x6 and ppc440x6f cores.

2011-01-29 Thread Andreas Färber
Hi, Am 27.01.2011 um 12:10 schrieb Alex Rozenman: Small patch adding ppc440x6 cores. Please push. Please resend your patches using git-send-email so that they can be reviewed more easily, and don't forget the Signed-off-by. You should cc the ppc maintainers and prefix the subject with tar

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-29 Thread Paolo Bonzini
On 01/29/2011 12:32 PM, Yoshiaki Tamura wrote: > But a hypothetical -incoming unix.*,ft_mode would have to be implemented > twice. You mean Kemari should be able to use with unix domain sockets, or other local communication patch? Since Kemari needs two remote hosts, I don't see why need to u

Re: [Qemu-devel] Blackfin: add disassembler support

2011-01-29 Thread Andreas Färber
Am 24.01.2011 um 11:25 schrieb Mike Frysinger: compressing & attaching since this is big (and i dont know what the qemu mailing list limit is set to), and it is simply a copy & paste of the Blackfin disassembler from binutils For anyone not having XZ Tools installed and wondering: bfin-dis.c i

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-29 Thread Yoshiaki Tamura
2011/1/29 Paolo Bonzini : > On 01/29/2011 10:31 AM, Yoshiaki Tamura wrote: >> >> OK, then while keeping "-incoming kemari:tcp::" as a >> strong solution, could you please explain why placing the original >> parser under tcp handler wasn't a good idea?  With that, >> -incoming exec .*,ft_mode should

[Qemu-devel] [PATCH 1/2] Correct alarm deadline computation

2011-01-29 Thread Paolo Bonzini
When the QEMU_CLOCK_HOST clock was added, computation of its deadline was added to qemu_next_deadline, which is correct but incomplete. I noticed this while trying to make sense of the rules whereby qemu_next_deadline_dyntick is computed, which miss QEMU_CLOCK_HOST when use_icount is true. Lookin

[Qemu-devel] [PATCH 2/2] Unify alarm deadline computation

2011-01-29 Thread Paolo Bonzini
Now that qemu_next_deadline_dyntick uses the correct formula, we can simplify the code in host_alarm_handler and eliminate useless duplication. Also, qemu_next_deadline_dyntick is always used in signed arithmetic, so change its type. Signed-off-by: Paolo Bonzini --- qemu-timer.c | 28

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-01-29 Thread Dushyant Bansal
http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline I'd like to see an in-place QCOW2<-> QED image converter with tests. I'm interested in mentoring this year. Stefan Hi, I am interested in working on this project as part of gsoc. I have prior experience w

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-29 Thread Paolo Bonzini
On 01/29/2011 10:31 AM, Yoshiaki Tamura wrote: OK, then while keeping "-incoming kemari:tcp::" as a strong solution, could you please explain why placing the original parser under tcp handler wasn't a good idea? With that, -incoming exec .*,ft_mode shouldn't be a problem. But a hypothetical -i

[Qemu-devel] [PATCH] linux-user: fix build errors for mmap2-only ports

2011-01-29 Thread Mike Frysinger
The current print_mmap func is only enabled when the target supports the mmap syscall, but both mmap and mmap2 syscalls use it. This leads to a build failure when the target supports mmap2 but not mmap. Signed-off-by: Mike Frysinger --- linux-user/strace.c |2 +- 1 files changed, 1 insertio

Re: [Qemu-devel] [PATCH 1/3] FVD: Added support for 'qemu-img update'

2011-01-29 Thread Stefan Hajnoczi
On Fri, Jan 28, 2011 at 9:26 PM, Chunqiang Tang wrote: >> It should be possible to change prefetching and copy-on-read while the >> VM is running.  For example, having to shut down a VM in order to >> pause the prefetching is not workable.  In the QED image streaming >> tree there are monitor comm

Re: [Qemu-devel] Re: [PATCH 19/19] migration: add a parser to accept FT migration incoming mode.

2011-01-29 Thread Yoshiaki Tamura
2011/1/29 Paolo Bonzini : > On 01/28/2011 04:31 PM, Yoshiaki Tamura wrote: >> >> That's the hack I was imaging:) > > So your original patch is also a hack? :) TBH, yeah :) I didn't came up better idea that is not over engineered. >> Maybe this is just an issue of preference, but I'm not sure >> a

[Qemu-devel] [PATCH] qcow2-refcount: remove write-only variables

2011-01-29 Thread Blue Swirl
Variables l2_modified and l2_size are not really used, remove them. Spotted by GCC 4.6.0: CCblock/qcow2-refcount.o /src/qemu/block/qcow2-refcount.c: In function 'qcow2_update_snapshot_refcount': /src/qemu/block/qcow2-refcount.c:708:37: error: variable 'l2_modified' set but not used [-Werror=u