[Qemu-devel] [PULL] virtio, vhost, migration, pci, net

2010-10-28 Thread Michael S. Tsirkin
OK this is try 2, with bad vhost patch dropped, but I also tacked on pcie support and some other fixes. The following changes since commit 758c309f0a5cb52441a1ee015566cf9cd96fa933: seabios: Update to 0.6.1 (2010-10-25 16:43:41 -0500) are available in the git repository at:

[Qemu-devel] aminata

2010-10-28 Thread aminata
Cher Monsieur C'est avec plaisir que je m'adresse à ma lettre, je suis HAJI Barry Aminata l'épouse de feu le général de la Guinée. Mon mari a été assassiné pour des raisons politiques en Guinée. Et avant sa mort, il avait gagné et un contrat avec le gouvernement d'une très grande quantité

[Qemu-devel] Re: [PATCH v2 1/2] pci: introduce pci_region to manage pci io/memory/prefmemory regions.

2010-10-28 Thread Isaku Yamahata
On Thu, Oct 28, 2010 at 07:56:41AM +0200, Michael S. Tsirkin wrote: diff --git a/src/util.h b/src/util.h index 5cc9f17..17eedd0 100644 --- a/src/util.h +++ b/src/util.h @@ -344,6 +344,34 @@ void qemu_prep_reset(void); void smm_save_and_copy(void); void

[Qemu-devel] Re: [PATCH v2 2/2] pciinit: use pci_region functions.

2010-10-28 Thread Michael S. Tsirkin
As a sepaate note, BIOS currently seems to allocate regions in-order, correct? A classical trick is to allocate regions behind each bridge in the reverse order of their size. This avoids holes due to alignment. -- MST

[Qemu-devel] [PATCH v3 0/2] pciinit: fix overflow when bar allocation

2010-10-28 Thread Isaku Yamahata
Changes v2 - v3: - use [first, last] instead of [start, end) Changes v1 - v2: - add comment. Patch description: This patch set fixes PCI bar allocation when bar overflow occured. I checked if pmm_alloc facility can be used, but it doesn't suit for pci bar allocation. So I resulted in new API,

[Qemu-devel] [PATCH v3 1/2] pci: introduce pci_region to manage pci io/memory/prefmemory regions.

2010-10-28 Thread Isaku Yamahata
This patch adds helper functions to manage pci area. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v2 - v3 - [first, last] instead of [start, end) Changes v1 - v2 - add comments --- Makefile |3 +- src/pci_region.c | 77

[Qemu-devel] [PATCH v3 2/2] pciinit: use pci_region functions.

2010-10-28 Thread Isaku Yamahata
This patch cleans up pci region allocation with pci_region. Now it is aware of overflow. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v2 - v3 - pci_region_init() adjustment. --- src/pciinit.c | 122 - 1 files changed,

[Qemu-devel] Re: [PATCH v2 2/2] pciinit: use pci_region functions.

2010-10-28 Thread Isaku Yamahata
On Thu, Oct 28, 2010 at 08:33:55AM +0200, Michael S. Tsirkin wrote: As a sepaate note, BIOS currently seems to allocate regions in-order, correct? Yes. A classical trick is to allocate regions behind each bridge in the reverse order of their size. This avoids holes due to alignment. This

[Qemu-devel] [PATCH] tap: clear vhost_net backend on cleanup

2010-10-28 Thread Jason Wang
Michael S. Tsirkin writes: Frontends calling tap_get_vhost_net get an invalid pointer after the peer backend has been deleted. Jason Wang jasow...@redhat.com reports this leading to a crash in ack_features when we remove the vhost-net bakend of a virtio nic. The fix is simply to clear

[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model

2010-10-28 Thread Gerd Hoffmann
On 10/27/10 19:13, H. Peter Anvin wrote: On 10/27/2010 9:04 AM, Gerd Hoffmann wrote: This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 48 Hz. Based on a patch from H. Peter Anvinh...@linux.intel.com Please don't apply this. This patch is outdated and has

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Stefan Hajnoczi
On Wed, Oct 27, 2010 at 7:19 PM, Anthony Liguori aligu...@us.ibm.com wrote: Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/block.c b/block.c index 1a965b2..00b6f21 100644 --- a/block.c +++ b/block.c @@ -603,10 +603,16 @@ int bdrv_open(BlockDriverState *bs, const char

[Qemu-devel] Is it possible to use qemu to call a non-native library?

2010-10-28 Thread Face Clock
I am new to QEMU and have a question. I know QEMU can be used to run a program (user mode emulation) or boot a system (full system emulation). But can I use QEMU to load from a program a shared library (such as .so file in linux) which was built for a different CPU target? For instance, I have

[Qemu-devel] Re: bonito: PCI_STATUS questions

2010-10-28 Thread chen huacai
Please see bonito64_pcibios_config_access() in arch/mips/pci/ops-bonito64.c of Linux kernel code. You will find something useful. On Thu, Oct 28, 2010 at 12:54 PM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Oct 28, 2010 at 08:57:01AM +0800, chen huacai wrote: Because the code in PMON and

Re: [Qemu-devel] Is it possible to use qemu to call a non-native library?

2010-10-28 Thread Stefan Hajnoczi
On Thu, Oct 28, 2010 at 9:30 AM, Face Clock facecl...@gmail.com wrote: I am new to QEMU and have a question. I know QEMU can be used to run a program (user mode emulation) or boot a system (full system emulation). But can I use QEMU to load from a program a shared library (such as .so file in

Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series.

2010-10-28 Thread Gerd Hoffmann
Hi, Nice timing there. I wonder how long it took bright folks at redhat to code this HDA stuff? A bunch of days. Played with the usb-audio patch first. But I suspect getting timing-sensitive isochronous usb devices emulated reasonable well is pretty hard due to the latency requirements.

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Kevin Wolf
Am 28.10.2010 10:30, schrieb Stefan Hajnoczi: On Wed, Oct 27, 2010 at 7:19 PM, Anthony Liguori aligu...@us.ibm.com wrote: Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/block.c b/block.c index 1a965b2..00b6f21 100644 --- a/block.c +++ b/block.c @@ -603,10 +603,16 @@ int

Re: [Qemu-devel] Which qemu ports actually work?

2010-10-28 Thread Artyom Tarasenko
On Thu, Oct 28, 2010 at 12:39 AM, Torbjorn Granlund t...@gmplib.org wrote: Blue Swirl blauwir...@gmail.com writes: I started a page that intends to save others from the trouble I have. It is at http://gmplib.org/~tege/qemu.html.  I'll try and collect enough info for getting started, or save

[Qemu-devel] Re: [PATCH] block: fix the use of protocols in backing files (v2)

2010-10-28 Thread Kevin Wolf
Am 27.10.2010 21:44, schrieb Anthony Liguori: Signed-off-by: Anthony Liguori aligu...@us.ibm.com Thanks, added a meaningful commit message and applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH 2/4] block: Allow bdrv_flush to return errors

2010-10-28 Thread Stefan Hajnoczi
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH 1/4] scsi-disk: Implement rerror option

2010-10-28 Thread Stefan Hajnoczi
On Mon, Oct 25, 2010 at 05:17:33PM +0200, Kevin Wolf wrote: This implements the rerror option for SCSI disks. Signed-off-by: Kevin Wolf kw...@redhat.com --- blockdev.c |2 +- hw/scsi-disk.c | 91 ++-- 2 files changed, 63

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Avi Kivity
On 10/27/2010 03:00 PM, Ian Molton wrote: On 19/10/10 11:39, Avi Kivity wrote: On 10/19/2010 12:31 PM, Ian Molton wrote: 2. should start with a patch to the virtio-pci spec to document what you're doing Where can I find that spec? http://ozlabs.org/~rusty/virtio-spec/ Ok, but I'm not

Re: [Qemu-devel] [PATCH 1/4] scsi-disk: Implement rerror option

2010-10-28 Thread Kevin Wolf
Am 28.10.2010 11:12, schrieb Stefan Hajnoczi: On Mon, Oct 25, 2010 at 05:17:33PM +0200, Kevin Wolf wrote: This implements the rerror option for SCSI disks. Signed-off-by: Kevin Wolf kw...@redhat.com --- blockdev.c |2 +- hw/scsi-disk.c | 91

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Daniel P. Berrange
On Thu, Oct 28, 2010 at 09:30:09AM +0100, Stefan Hajnoczi wrote: On Wed, Oct 27, 2010 at 7:19 PM, Anthony Liguori aligu...@us.ibm.com wrote: Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/block.c b/block.c index 1a965b2..00b6f21 100644 --- a/block.c +++ b/block.c @@

Re: [Qemu-devel] Which qemu ports actually work?

2010-10-28 Thread Torbjorn Granlund
Artyom Tarasenko atar4q...@gmail.com writes: Nice. Btw, there is no OpenSolaris version for sparc. Only for i386, x86-64 and sparc64. Fixed, thanks. openbsd/sparc hangs - can you be more specific? It used to work. Some description of failues is in the plan. Also, why would you like

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Stefan Hajnoczi
On Thu, Oct 28, 2010 at 10:35:02AM +0100, Daniel P. Berrange wrote: On Thu, Oct 28, 2010 at 09:30:09AM +0100, Stefan Hajnoczi wrote: On Wed, Oct 27, 2010 at 7:19 PM, Anthony Liguori aligu...@us.ibm.com wrote: Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/block.c

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Kevin Wolf
Am 28.10.2010 11:35, schrieb Daniel P. Berrange: On Thu, Oct 28, 2010 at 09:30:09AM +0100, Stefan Hajnoczi wrote: On Wed, Oct 27, 2010 at 7:19 PM, Anthony Liguori aligu...@us.ibm.com wrote: Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/block.c b/block.c index

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Daniel P. Berrange
On Thu, Oct 28, 2010 at 11:49:58AM +0200, Kevin Wolf wrote: Am 28.10.2010 11:35, schrieb Daniel P. Berrange: On Thu, Oct 28, 2010 at 09:30:09AM +0100, Stefan Hajnoczi wrote: On Wed, Oct 27, 2010 at 7:19 PM, Anthony Liguori aligu...@us.ibm.com wrote: Signed-off-by: Anthony Liguori

Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series.

2010-10-28 Thread malc
On Thu, 28 Oct 2010, Gerd Hoffmann wrote: Hi, Nice timing there. I wonder how long it took bright folks at redhat to code this HDA stuff? A bunch of days. Played with the usb-audio patch first. But I suspect getting timing-sensitive isochronous usb devices emulated reasonable well

Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series.

2010-10-28 Thread Gerd Hoffmann
Hi, At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't. I'd have to check things on my x86_64 box to ensure it's not a endianness issue of some sort, It most likely *is* endianness, the mmio_read/write handlers don't swap bytes on bigendian hosts.

Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series.

2010-10-28 Thread malc
On Thu, 28 Oct 2010, malc wrote: On Thu, 28 Oct 2010, Gerd Hoffmann wrote: [..snip..] I believe in the end it wouldn't have saved work to use the vbox code as starting point. At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't. I'd have to

Re: [Qemu-devel] Re: [PATCH v3 5/5] qed: Consistency check support

2010-10-28 Thread Stefan Hajnoczi
On Wed, Oct 27, 2010 at 4:52 PM, Kevin Wolf kw...@redhat.com wrote: Am 22.10.2010 16:56, schrieb Stefan Hajnoczi: This patch adds support for the qemu-img check command.  It also introduces a dirty bit in the qed header to mark modified images as needing a check.  This bit is cleared when the

Re: [Qemu-devel] Re: [PATCH v3 5/5] qed: Consistency check support

2010-10-28 Thread Kevin Wolf
Am 28.10.2010 12:15, schrieb Stefan Hajnoczi: On Wed, Oct 27, 2010 at 4:52 PM, Kevin Wolf kw...@redhat.com wrote: Am 22.10.2010 16:56, schrieb Stefan Hajnoczi: This patch adds support for the qemu-img check command. It also introduces a dirty bit in the qed header to mark modified images as

[Qemu-devel] Re: May I use -device in qemu-system command to attach to PCIe bus?

2010-10-28 Thread Wei Xu
Isaku, To make things clear, let me rephrase the problem. With q35/vPCIe, in VMM monitor, we can do hotplug like: pci_add auto|bus:dev nic|storage to hotplug a device to PCIe/PCI bus. But we have two problems here: (1) command line for example, -net nic,addr=bus:dev always failed because it

Re: [Qemu-devel] Which qemu ports actually work?

2010-10-28 Thread Artyom Tarasenko
 http://www.claunia.com/qemu I found nice graphics, and claims that some oddball and/or obsolete operating systems (don't take my use of the term operating system here as a praise for DOS, I know the proper term is boot monitor).  I cannot find any instructions how to reproduce any of these

Re: [Qemu-devel] Re: [PATCH v3 5/5] qed: Consistency check support

2010-10-28 Thread Stefan Hajnoczi
On Thu, Oct 28, 2010 at 11:37 AM, Kevin Wolf kw...@redhat.com wrote: Am 28.10.2010 12:15, schrieb Stefan Hajnoczi: On Wed, Oct 27, 2010 at 4:52 PM, Kevin Wolf kw...@redhat.com wrote: Am 22.10.2010 16:56, schrieb Stefan Hajnoczi: This patch adds support for the qemu-img check command.  It also

Re: [Qemu-devel] About QEMU debugging console

2010-10-28 Thread Kevin Wolf
Am 28.10.2010 04:20, schrieb Zhiyuan Shao: OK, If I get some time in the close future, I will try to improve the relevant part (todo list: PAE/PSE(36), IDT, GDT, x86_64, possibly pipe-like feature) of Qemu that I think it will be helpful for people debugging code on the i386 platform.

[Qemu-devel] [PATCH v4 1/5] docs: Add QED image format specification

2010-10-28 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- docs/specs/qed_spec.txt | 128 +++ 1 files changed, 128 insertions(+), 0 deletions(-) create mode 100644 docs/specs/qed_spec.txt diff --git a/docs/specs/qed_spec.txt

[Qemu-devel] [PATCH v4 0/5] qed: Add QEMU Enhanced Disk format

2010-10-28 Thread Stefan Hajnoczi
QEMU Enhanced Disk format is a disk image format that forgoes features found in qcow2 in favor of better levels of performance and data integrity. Due to its simpler on-disk layout, it is possible to safely perform metadata updates more efficiently. Installations, suspend-to-disk, and other

[Qemu-devel] [PATCH v4 5/5] qed: Consistency check support

2010-10-28 Thread Stefan Hajnoczi
This patch adds support for the qemu-img check command. It also introduces a dirty bit in the qed header to mark modified images as needing a check. This bit is cleared when the image file is closed cleanly. If an image file is opened and it has the dirty bit set, a consistency check will run

[Qemu-devel] [PATCH v4 2/5] qed: Add QEMU Enhanced Disk image format

2010-10-28 Thread Stefan Hajnoczi
This patch introduces the qed on-disk layout and implements image creation. Later patches add read/write and other functionality. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- Makefile.objs |1 + block/qed.c | 548 +

[Qemu-devel] [PATCH v4 4/5] qed: Read/write support

2010-10-28 Thread Stefan Hajnoczi
This patch implements the read/write state machine. Operations are fully asynchronous and multiple operations may be active at any time. Allocating writes lock tables to ensure metadata updates do not interfere with each other. If two allocating writes need to update the same L2 table they will

[Qemu-devel] [PATCH v4 3/5] qed: Table, L2 cache, and cluster functions

2010-10-28 Thread Stefan Hajnoczi
This patch adds code to look up data cluster offsets in the image via the L1/L2 tables. The L2 tables are writethrough cached in memory for performance (each read/write requires a lookup so it is essential to cache the tables). With cluster lookup code in place it is possible to implement

[Qemu-devel] Re: May I use -device in qemu-system command to attach to PCIe bus?

2010-10-28 Thread Isaku Yamahata
On Thu, Oct 28, 2010 at 03:37:27AM -0700, Wei Xu wrote: Isaku, To make things clear, let me rephrase the problem. With q35/vPCIe, in VMM monitor, we can do hotplug like: pci_add auto|bus:dev nic|storage to hotplug a device to PCIe/PCI bus. But we have two problems here: (1) command

Re: [Qemu-devel] Re: [PATCH v3 5/5] qed: Consistency check support

2010-10-28 Thread Avi Kivity
On 10/28/2010 12:51 PM, Stefan Hajnoczi wrote: Opening the file read-only first and reopening it read-write when the migration has completed would be much better. No image format driver would have to be changed for that. I agree. I'm not sure whether NFS guarantees we see the latest

[Qemu-devel] Re: May I use -device in qemu-system command to attach to PCIe bus?

2010-10-28 Thread Wei Xu
Isaku, We are on same page now; I also consider the qdev_find way. Both ways can work and let's wait for others' opinions... Wei On 10/28/10 4:25 AM, Isaku Yamahata yamah...@valinux.co.jp wrote: On Thu, Oct 28, 2010 at 03:37:27AM -0700, Wei Xu wrote: Isaku, To make things clear, let me

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Ian Molton
On 28/10/10 10:27, Avi Kivity wrote: On 10/27/2010 03:00 PM, Ian Molton wrote: On 19/10/10 11:39, Avi Kivity wrote: On 10/19/2010 12:31 PM, Ian Molton wrote: 2. should start with a patch to the virtio-pci spec to document what you're doing Where can I find that spec?

[Qemu-devel] Re: About QEMU debugging console

2010-10-28 Thread Jan Kiszka
Am 26.10.2010 14:22, Zhiyuan Shao wrote: Hi team, I am a Qemu User, and using Qemu 0.13.0 to debugging the linux kernel code (Qemu+GDB). During the usage, I found the Qemu debugging console (i.e., entered by pressing Ctl+Alt+2 in Qemu SDL window or by passing -monitor stdio to Qemu in

[Qemu-devel] [Bug 667791] [NEW] Cygwin build fails due to ui/vnc-etc-tight.c

2010-10-28 Thread Alexey Pelykh
Public bug reported: Configure: ./configure \ --prefix=./install/bin/ \ --interp-prefix=./install/bin-%M/ \ --cc=gcc -mno-cygwin \ --host-cc=gcc \ --disable-sdl \ --enable-system \ --disable-user \ --disable-linux-user \ --disable-darwin-user \ --disable-bsd-user \ --disable-xen \

Re: [Qemu-devel] [PATCH] block: fix the use of protocols in backing files

2010-10-28 Thread Anthony Liguori
On 10/28/2010 04:51 AM, Daniel P. Berrange wrote: The problem is that this wouldn't work in the general case. It's rather an exception that it makes sense for file: backing files with file: images. Consider this: # qemu-img create -o backing_file=nbd:foo:1234 /tmp/main.img Without this

[Qemu-devel] [PATCH] qcow2: Invalidate cache after failed read

2010-10-28 Thread Kevin Wolf
The cache content may be destroyed after a failed read, better not use it any more. Signed-off-by: Kevin Wolf kw...@redhat.com --- block/qcow2-cluster.c |1 + block/qcow2-refcount.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/block/qcow2-cluster.c

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Avi Kivity
On 10/28/2010 01:54 PM, Ian Molton wrote: Well, I like to review an implementation against a spec. True, but then all that would prove is that I can write a spec to match the code. It would also allow us to check that the spec matches the requirements. Those two steps are easier than

Re: [Qemu-devel] [PATCH 3/4] scsi-disk: Complete failed requests in scsi_disk_emulate_command

2010-10-28 Thread Stefan Hajnoczi
On Mon, Oct 25, 2010 at 4:17 PM, Kevin Wolf kw...@redhat.com wrote: This pulls the request completion for error cases from the caller to scsi_disk_emulate_command. This should not change semantics, but allows to reuse scsi_handle_write_error() for flushes in the next patch. Signed-off-by:

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Anthony Liguori
On 10/28/2010 09:24 AM, Avi Kivity wrote: On 10/28/2010 01:54 PM, Ian Molton wrote: Well, I like to review an implementation against a spec. True, but then all that would prove is that I can write a spec to match the code. It would also allow us to check that the spec matches the

Re: [Qemu-devel] [PATCH 4/4] scsi-disk: Implement werror for flushes

2010-10-28 Thread Stefan Hajnoczi
On Mon, Oct 25, 2010 at 4:17 PM, Kevin Wolf kw...@redhat.com wrote: Signed-off-by: Kevin Wolf kw...@redhat.com ---  hw/scsi-disk.c |   17 -  1 files changed, 16 insertions(+), 1 deletions(-) Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Stefan

Re: [Qemu-devel] [PATCH] qcow2: Invalidate cache after failed read

2010-10-28 Thread Stefan Hajnoczi
On Thu, Oct 28, 2010 at 3:23 PM, Kevin Wolf kw...@redhat.com wrote: The cache content may be destroyed after a failed read, better not use it any more. Signed-off-by: Kevin Wolf kw...@redhat.com ---  block/qcow2-cluster.c  |    1 +  block/qcow2-refcount.c |    1 +  2 files changed, 2

[Qemu-devel] Re: [PATCH 1/2] msix: Allow msix_init on a device with existing MSI-X capability

2010-10-28 Thread Avi Kivity
On 10/23/2010 06:55 PM, Alex Williamson wrote: On Sat, 2010-10-23 at 18:18 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:31PM -0600, Alex Williamson wrote: To enable common msix support to be used with pass through devices, don't attempt to change the BAR if the

[Qemu-devel] What is correct location for help

2010-10-28 Thread glen . c . bodie
Just joined this list and now that I've seen some postings I can tell I'm in the wrong place. I am not doing QEMU development. I am trying to use it in a way that I'm not sure is supported and have questions. Can you suggest a better forum for me to ask such questions? Regards - Glen

[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model

2010-10-28 Thread H. Peter Anvin
On 10/28/2010 1:01 AM, Gerd Hoffmann wrote: On 10/27/10 19:13, H. Peter Anvin wrote: On 10/27/2010 9:04 AM, Gerd Hoffmann wrote: This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 48 Hz. Based on a patch from H. Peter Anvinh...@linux.intel.com Please don't

[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model

2010-10-28 Thread H. Peter Anvin
On 10/28/2010 1:01 AM, Gerd Hoffmann wrote: On 10/27/10 19:13, H. Peter Anvin wrote: On 10/27/2010 9:04 AM, Gerd Hoffmann wrote: This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 48 Hz. Based on a patch from H. Peter Anvinh...@linux.intel.com Please don't

[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model

2010-10-28 Thread H. Peter Anvin
On 10/28/2010 1:01 AM, Gerd Hoffmann wrote: On 10/27/10 19:13, H. Peter Anvin wrote: On 10/27/2010 9:04 AM, Gerd Hoffmann wrote: This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 48 Hz. Based on a patch from H. Peter Anvinh...@linux.intel.com Please don't

Re: [Qemu-devel] What is correct location for help

2010-10-28 Thread Stefan Hajnoczi
On Thu, Oct 28, 2010 at 4:13 PM, glen.c.bo...@esso.ca wrote: Just joined this list and now that I've seen some postings I can tell I'm in the wrong place. I am not doing QEMU development. I am trying to use it in a way that I'm not sure is supported and have questions. Can you suggest a

Re: [Qemu-devel] AIX emulated on x86 host

2010-10-28 Thread Stefan Hajnoczi
On Wed, Oct 27, 2010 at 9:23 PM, glen.c.bo...@esso.ca wrote: Sorry - first message had non-plain text by mistake. Trying again ... I have an old AIX machine (IBM RS/6000 running AIX v5.x) and it's about to fall apart. I would like to migrate that machine's functions onto one of my VMware

Re: [Qemu-devel] AIX emulated on x86 host

2010-10-28 Thread Natalia Portillo
The last thing I've heard about that was long time ago when I and Jocelyn tried to make it work with OpenHackWare to no luck. Anyway, right now, it does not work either, I just don't know if anyone is working on it. I know that the AIX boot process is quite different (using MBR partition

[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model

2010-10-28 Thread Gerd Hoffmann
Hi, I have a git tree on kernel.org with the latest version. Thanks, I'll have a look when I find some time. However, the rate-matching code needs to be ripped out since it just plain doesn't work, and tends to produce worse results than no rate matching: Doesn't surprise me. There are

[Qemu-devel] [Bug 432154] Re: dynamic block device attach/detach not functional with karmic KVM

2010-10-28 Thread Wolfgang Nagele
I believe this bug is still existing in the latest 10.10 server release. When attaching a volume the nc.log shows that it was properly mounted via iSCSI and one can access it on the node but it will not appear in the guest. The guest is the latest UEC release of Lucid. Can anybody confirm that

[Qemu-devel] [Bug 655120] Re: VirtFS EFAULT when accessing not existing files

2010-10-28 Thread Venkateswararao Jujjuri (JV)
We had a bunch of patches went into today's kernel. With those set of patches, this problem is not reproducible. -- VirtFS EFAULT when accessing not existing files https://bugs.launchpad.net/bugs/655120 You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Ian Molton
On 28/10/10 15:24, Avi Kivity wrote: The caller is intended to block as the host must perform GL rendering before allowing the guests process to continue. Why is that? Can't we pipeline the process? No, not really. the guest may call for the scene to be rendered at any time and we have to

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Ian Molton
On 28/10/10 15:43, Anthony Liguori wrote: On 10/28/2010 09:24 AM, Avi Kivity wrote: On 10/28/2010 01:54 PM, Ian Molton wrote: True, but then all that would prove is that I can write a spec to match the code. It would also allow us to check that the spec matches the requirements. Those two

Re: [Qemu-devel] Which qemu ports actually work?

2010-10-28 Thread Alexander Graf
On 28.10.2010, at 01:32, Torbjorn Granlund wrote: Alexander Graf ag...@suse.de writes: Please also keep in mind that PPC emulation is _very_ slow. Why is it slow? Because we're flushing the TLB on almost every MMU opcode. OK. Does that mean the TLB never gets more than a single

Re: [Qemu-devel] AIX emulated on x86 host

2010-10-28 Thread Alexander Graf
On 28.10.2010, at 08:42, Natalia Portillo wrote: The last thing I've heard about that was long time ago when I and Jocelyn tried to make it work with OpenHackWare to no luck. Anyway, right now, it does not work either, I just don't know if anyone is working on it. FWIW, Andreas Färber

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Anthony Liguori
On 10/28/2010 02:50 PM, Ian Molton wrote: On 28/10/10 15:43, Anthony Liguori wrote: On 10/28/2010 09:24 AM, Avi Kivity wrote: On 10/28/2010 01:54 PM, Ian Molton wrote: True, but then all that would prove is that I can write a spec to match the code. It would also allow us to check that

Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport

2010-10-28 Thread Ian Molton
On 28/10/10 21:14, Anthony Liguori wrote: If this code was invasive to qemus core, I'd say 'no way' but its just not. and as the GL device is versioned, we can keep using it even if the passthrough is replaced by a virtual GPU. The virtio-gl implementation is basically duplicating

Re: [Qemu-devel] [PATCH 0/6] The windows 7 audio support patch series.

2010-10-28 Thread Gerd Hoffmann
Hi, At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't. Pull latest fixes from audio.2 branch @ freedesktop.org, mpxplay works for me (on x86_64). Test reports from your ppc box are welcome too. cheers, Gerd

[Qemu-devel] [RFC][PATCH 0/3] KVM page cache optimization (v3)

2010-10-28 Thread Balbir Singh
This is version 3 of the page cache control patches From: Balbir Singh bal...@linux.vnet.ibm.com This series has three patches, the first controls the amount of unmapped page cache usage via a boot parameter and sysctl. The second patch controls page and slab cache via the balloon driver. Both

[Qemu-devel] [RFC][PATCH 3/3] QEmu changes to provide balloon hint

2010-10-28 Thread Balbir Singh
Provide memory hint during ballooning From: Balbir Singh bal...@linux.vnet.ibm.com This patch adds an optional hint to the qemu monitor balloon command. The hint tells the guest operating system to consider a class of memory during reclaim. Currently the supported hint is cached memory. The

[Qemu-devel] [RFC][PATCH 2/3] Linux/Guest cooperative unmapped page cache control

2010-10-28 Thread Balbir Singh
Balloon unmapped page cache pages first From: Balbir Singh bal...@linux.vnet.ibm.com This patch builds on the ballooning infrastructure by ballooning unmapped page cache pages first. It looks for low hanging fruit first and tries to reclaim clean unmapped pages first. This patch brings

Re: [Qemu-devel] Re: About QEMU debugging console

2010-10-28 Thread Zhiyuan Shao
On Thu, 2010-10-28 at 14:36 +0200, Jan Kiszka wrote: Am 26.10.2010 14:22, Zhiyuan Shao wrote: Hi team, I am a Qemu User, and using Qemu 0.13.0 to debugging the linux kernel code (Qemu+GDB). During the usage, I found the Qemu debugging console (i.e., entered by pressing Ctl+Alt+2

[Qemu-devel] aminata

2010-10-28 Thread aminata
Cher Monsieur C'est avec plaisir que je m'adresse à ma lettre, je suis HAJI Barry Aminata l'épouse de feu le général de la Guinée. Mon mari a été assassiné pour des raisons politiques en Guinée. Et avant sa mort, il avait gagné et un contrat avec le gouvernement d'une très grande quantité