Re: [PATCH] Support for booting from virtio disks

2010-05-09 Thread Kevin O'Connor
On Sun, May 09, 2010 at 06:23:49PM +0300, Gleb Natapov wrote: > This patch adds native support for booting from virtio disks to Seabios. Thanks Gleb - it looks good to me. One thing I noticed - the virtio-pci.c file is missing a license statement and virtio-ring.c states GPL instead of LGPL. -Ke

Re: [PATCH RFC] virtio: put last seen used index into ring itself

2010-05-09 Thread Michael S. Tsirkin
On Fri, May 07, 2010 at 01:03:28PM +0930, Rusty Russell wrote: > On Thu, 6 May 2010 03:49:46 pm Michael S. Tsirkin wrote: > > Now, I also added an mb() in guest between read and write so > > that last used index write can not get ahead of used index read. > > It does feel good to have it there, but

[PATCH] VMX: Invalid guest state detection enhancements and bug fixes

2010-05-09 Thread Mohammed Gamal
- Correct unusable flag check on SS, DS, ES, FS, GS, and LDTR - Add IDTR and GDTR checks - Add rflags checks Signed-off-by: Mohammed Gamal --- arch/x86/kvm/vmx.c | 64 --- 1 files changed, 60 insertions(+), 4 deletions(-) diff --git a/arch/x86/k

Re: [Qemu-devel] Re: QEMU-KVM and video performance

2010-05-09 Thread Gerhard Wiesinger
On Thu, 22 Apr 2010, Avi Kivity wrote: On 04/22/2010 09:04 AM, Gerhard Wiesinger wrote: On Wed, 21 Apr 2010, Avi Kivity wrote: On 04/21/2010 09:50 PM, Gerhard Wiesinger wrote: I don't think changing VGA window is a problem because there are 500.000-1Mio changes/s possible. 1MB/s, 500k-1M c

Re: Pulling regularly from QEMU git repository

2010-05-09 Thread Gerhard Wiesinger
On Wed, 28 Apr 2010, Avi Kivity wrote: On 04/28/2010 07:37 AM, Gerhard Wiesinger wrote: Hello, I saw that KVM git repository is not updated from QEMU repository very often. Is it possible to integrate QEMU git tree into KVM git regularly as qemu git tree is very dynamic. E.g. last commit was

Re: Keep index within boundaries in kvmppc_44x_emul_tlbwe()

2010-05-09 Thread Alexander Graf
Roel Kluin wrote: > An index of KVM44x_GUEST_TLB_SIZE is already one too large. > Thanks for this one Roel. Please try to keep k...@vger CC'ed on KVM patches, as all KVM patches go through kvm.git. Hollis, I'd like to see an Ack from you on this patch. It looks reasonable to me, but I'd still

Re: [SeaBIOS] [PATCH] Support for booting from virtio disks

2010-05-09 Thread Gleb Natapov
On Sun, May 09, 2010 at 05:31:16PM +0100, Stefan Hajnoczi wrote: > On Sun, May 9, 2010 at 4:23 PM, Gleb Natapov wrote: > Neat! I believe SeaBIOS will see virtio-blk devices as harddisks and > not attempt to boot ISOs? Many existing OS installers probably cannot > boot from virtio-blk, but in the

Re: [SeaBIOS] [PATCH] Support for booting from virtio disks

2010-05-09 Thread Stefan Hajnoczi
On Sun, May 9, 2010 at 4:23 PM, Gleb Natapov wrote: Neat! I believe SeaBIOS will see virtio-blk devices as harddisks and not attempt to boot ISOs? Many existing OS installers probably cannot boot from virtio-blk, but in the longer term folks might like to get rid of ATAPI CD-ROMs in their VMs.

[PATCH] Support for booting from virtio disks

2010-05-09 Thread Gleb Natapov
This patch adds native support for booting from virtio disks to Seabios. Signed-off-by: Gleb Natapov diff --git a/Makefile b/Makefile index 327a1bf..d0b8881 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,8 @@ OUT=out/ SRCBOTH=misc.c pmm.c stacks.c output.c util.c block.c floppy.c ata.c mouse.

[ANNOUNCE] qemu-kvm-0.12.4

2010-05-09 Thread Avi Kivity
qemu-kvm-0.12.4 is now available. This release is based on the upstream qemu 0.12.4, plus kvm-specific enhancements. Please see the original qemu 0.12.4 release announcement for details. This release can be used with the kvm kernel modules provided by your distribution kernel, or by the modules

Re: [RFC][PATCH v4 00/18] Provide a zero-copy method on KVM virtio-net.

2010-05-09 Thread Michael S. Tsirkin
On Sat, May 08, 2010 at 03:55:48PM +0800, Xin, Xiaohui wrote: > Michael, > Sorry, somehow I missed this mail. :-( > > >> Here, we have ever considered 2 ways to utilize the page constructor > >> API to dispense the user buffers. > >> > >> One: Modify __alloc_skb() function a bit, it can onl

Re: virtio: put last_used and last_avail index into ring itself.

2010-05-09 Thread Michael S. Tsirkin
On Fri, May 07, 2010 at 12:35:39PM +0930, Rusty Russell wrote: > On Thu, 6 May 2010 03:57:55 pm Michael S. Tsirkin wrote: > > On Thu, May 06, 2010 at 10:22:12AM +0930, Rusty Russell wrote: > > > On Wed, 5 May 2010 03:52:36 am Michael S. Tsirkin wrote: > > > > What do you think? > > > > > > I think