[Qemu-devel] [PATCHv7 0/3] qemu: properties for feature compatibility

2010-01-10 Thread Michael S. Tsirkin
Here's what I came up with for solving the problem of differences in features in virtio between 0.12 and 0.11. This also enables migration between different backends, e.g. between host where tap supports virtio net header and where it does not: management just needs to set features

[Qemu-devel] [PATCHv7 1/3] qdev: add bit property type

2010-01-10 Thread Michael S. Tsirkin
This adds bit property type, which is a boolean stored in a 32 bit integer field, with legal values on and off. Will be used by virtio for feature bits. Signed-off-by: Michael S. Tsirkin m...@redhat.com Acked-by: Gerd Hoffmann kra...@redhat.com --- hw/qdev-properties.c | 62

[Qemu-devel] [PATCHv7 2/3] virtio: rename features - guest_features

2010-01-10 Thread Michael S. Tsirkin
Rename features-guest_features. This is what they are, avoid confusion with host features which we also need to keep around. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/s390-virtio-bus.c |2 +- hw/syborg_virtio.c |4 ++-- hw/virtio-net.c | 10 +-

[Qemu-devel] [PATCHv7 3/3] virtio: add features as qdev properties

2010-01-10 Thread Michael S. Tsirkin
Add feature bits as properties to virtio. This makes it possible to e.g. define machine without indirect buffer support, which is required for 0.10 compatibility, or without hardware checksum support, which is required for 0.11 compatibility. Since default values for optional features are now set

Re: [Qemu-devel] Re: [PATCH v2] virtio-blk physical block size

2010-01-10 Thread Avi Kivity
On 01/08/2010 05:40 PM, Christoph Hellwig wrote: Maybe we should pick one on image creation and then stick to it. For an image format we could write down this information in the image, but for a raw images that's impossible. The management system should remember it (like it remembers

[Qemu-devel] New kvm-related qemu patch queue

2010-01-10 Thread Avi Kivity
In order to improve qemu.git kvm integration quality wrt performance, features, and reliability Marcelo and I will begin to maintain a patch queue based on qemu.git containing kvm-related patches. We will review and apply patches to this queue, test them using the same test suite that is used

[Qemu-devel] Re: New kvm-related qemu patch queue

2010-01-10 Thread Gleb Natapov
On Sun, Jan 10, 2010 at 02:02:27PM +0200, Avi Kivity wrote: In order to improve qemu.git kvm integration quality wrt performance, features, and reliability Marcelo and I will begin to maintain a patch queue based on qemu.git containing kvm-related patches. We will review and apply patches to

[Qemu-devel] Re: New kvm-related qemu patch queue

2010-01-10 Thread Avi Kivity
On 01/10/2010 04:28 PM, Gleb Natapov wrote: On Sun, Jan 10, 2010 at 02:02:27PM +0200, Avi Kivity wrote: In order to improve qemu.git kvm integration quality wrt performance, features, and reliability Marcelo and I will begin to maintain a patch queue based on qemu.git containing kvm-related

[Qemu-devel] Re: New kvm-related qemu patch queue

2010-01-10 Thread Avi Kivity
On 01/10/2010 04:49 PM, Gleb Natapov wrote: If the feature is already in both, then morph qemu-kvm.git into what is already in qemu.git. Hopefully anything missing in qemu.git will be discovered while making the changes. What about bugs that are present only in qemu.git? Like this:

[Qemu-devel] Re: [ kvm-Bugs-2907597 ] qemu vnc server clips at 2560x1600

2010-01-10 Thread Avi Kivity
On 01/10/2010 06:26 PM, SourceForge.net wrote: Initial Comment: So I am running using the VESA driver to run an Ubuntu 9.10 guest at 2560x1600 (I had to modify the xserver-video-vesa package to remove an internal screen limit of 2048x2048 in the xorg vesa driver) and everything works great

[Qemu-devel] Re: [PATCH 1/6] Make config space accessor host bus trapable

2010-01-10 Thread Blue Swirl
On Sun, Jan 3, 2010 at 7:18 PM, Blue Swirl blauwir...@gmail.com wrote: On Sun, Jan 3, 2010 at 6:06 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, Jan 03, 2010 at 06:50:15PM +0100, Alexander Graf wrote: On 03.01.2010, at 18:44, Michael S. Tsirkin wrote: On Sun, Jan 03, 2010 at

Re: [Qemu-devel] [PATCH] Workaround for broken OSS_GETVERSION on FreeBSD, part two

2010-01-10 Thread Juergen Lock
On Sun, Jan 10, 2010 at 01:40:18AM +0300, malc wrote: On Sat, 9 Jan 2010, Juergen Lock wrote: Turns out on those versions of FreeBSD (= 7.x) that know OSS_GETVERSION the ioctl doesn't actually work yet (except in the Linuxolator), so if building on FreeBSD fall back to using SOUND_VERSION

[Qemu-devel] mulu2 not implemented for tcg target sparc

2010-01-10 Thread Palle Lyckegaard
Hi, The tcg mulu2 operation is apparently missing for the sparc target (tcg/sparc/tcg-target.c function tcg_out_op()) Is anyone else working on implementing the missing mulu2 operation? Regards Palle

Re: [Qemu-devel] mulu2 not implemented for tcg target sparc

2010-01-10 Thread Blue Swirl
On Sun, Jan 10, 2010 at 8:20 PM, Palle Lyckegaard pa...@lyckegaard.dk wrote: Hi, The tcg mulu2 operation is apparently missing for the sparc target (tcg/sparc/tcg-target.c function tcg_out_op()) Is anyone else working on implementing the missing mulu2 operation? Is it needed somewhere?

Re: [Qemu-devel] mulu2 not implemented for tcg target sparc

2010-01-10 Thread Laurent Desnogues
On Sun, Jan 10, 2010 at 9:46 PM, Blue Swirl blauwir...@gmail.com wrote: On Sun, Jan 10, 2010 at 8:20 PM, Palle Lyckegaard pa...@lyckegaard.dk wrote: Hi, The tcg mulu2 operation is apparently missing for the sparc target (tcg/sparc/tcg-target.c function tcg_out_op()) Is anyone else working

Re: [Qemu-devel] mulu2 not implemented for tcg target sparc

2010-01-10 Thread Blue Swirl
On Sun, Jan 10, 2010 at 8:50 PM, Laurent Desnogues laurent.desnog...@gmail.com wrote: On Sun, Jan 10, 2010 at 9:46 PM, Blue Swirl blauwir...@gmail.com wrote: On Sun, Jan 10, 2010 at 8:20 PM, Palle Lyckegaard pa...@lyckegaard.dk wrote: Hi, The tcg mulu2 operation is apparently missing for

Re: [Qemu-devel] mulu2 not implemented for tcg target sparc

2010-01-10 Thread Palle Lyckegaard
On Sun, 10 Jan 2010, Blue Swirl wrote: Is it needed somewhere? I was trying to run qemu-system-mips with a NetBSD malta kernel that generates a MIPS mult operation. Tracing the code through tcg points at a missing mulu2 opreration for sparc. It will be generated for instance for some

[Qemu-devel] [RFC][PATCH] performance improvement for windows guests, running on top of virtio block device

2010-01-10 Thread Vadim Rozenfeld
The following patch allows us to improve Windows virtio block driver performance on small size requests. Additionally, it leads to reducing of cpu usage on write IOs repository: /home/vadimr/work/win7/qemu branch: master commit 68290c4e9c96f345d544ca5d2b89f27a1e67e27a Author: Vadim Rozenfeld

[Qemu-devel] Re: New kvm-related qemu patch queue

2010-01-10 Thread Gleb Natapov
On Sun, Jan 10, 2010 at 04:52:48PM +0200, Avi Kivity wrote: On 01/10/2010 04:49 PM, Gleb Natapov wrote: If the feature is already in both, then morph qemu-kvm.git into what is already in qemu.git. Hopefully anything missing in qemu.git will be discovered while making the changes. What