[kvm-devel] [PATCH] KVM: MMU: unify slots_lock usage

2008-03-29 Thread Marcelo Tosatti
Unify slots_lock acquision around vcpu_run(). This is simpler and less error-prone. Also fix some callsites that were not grabbing the lock properly. Please review. Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> Index: kvm/arch/x86/kvm/mmu.c ==

Re: [kvm-devel] QEMU/KVM: virtio-blk asynchronous IO

2008-03-29 Thread Anthony Liguori
Marcelo Tosatti wrote: > Use asynchronous IO in the virtio block QEMU driver. > > virtio_blk_handle_output should not block for long periods, since it > holds the mutex lock prohibiting other vcpu's from doing IO to QEMU > devices. Without AIO write intensive benchmarks make guests hang for > sever

[kvm-devel] [PATCH 3/6] virtio for QEMU

2008-03-29 Thread Anthony Liguori
This patch introduces virtio support over PCI. virtio is a generic virtual IO framework for Linux first introduced in 2.6.23. Since 2.6.25, virtio has supported a PCI transport which this patch implements. Since the last time these patches were posted to qemu-devel, I've reworked it to use the p

[kvm-devel] [PATCH 4/6] virtio network driver

2008-03-29 Thread Anthony Liguori
This patch implements the virtio network driver backend. In KVM, this driver can achieve 1gbit tx/rx performance. More patches are required to improve the network IO infrastructure to achieve better performance in QEMU. Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]> diff --git a/Makefile.ta

[kvm-devel] [PATCH 2/6] PCI DMA API

2008-03-29 Thread Anthony Liguori
This patch introduces a PCI DMA API and some generic code to support other DMA APIs. Two types are introduced: PhysIOVector and IOVector. A DMA API maps a PhysIOVector, which is composed of target_phys_addr_t, into an IOVector, which is composed of void *. This enables zero-copy IO to be preform

[kvm-devel] [PATCH 1/6] Use ram_addr_t for cpu_get_physical_page_desc

2008-03-29 Thread Anthony Liguori
uint32_t is the wrong type to use to represent physical addresses. Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]> diff --git a/cpu-all.h b/cpu-all.h index 2a2b197..9e5d33b 100644 --- a/cpu-all.h +++ b/cpu-all.h @@ -834,7 +834,7 @@ typedef uint32_t CPUReadMemoryFunc(void *opaque, target_phys_

[kvm-devel] [PATCH 6/6] virtio balloon driver

2008-03-29 Thread Anthony Liguori
This patch implements the virtio balloon driver backend. A user can interact with the balloon driver using a newly introduce monitor command 'balloon'. Ballooning is used to request the guest to stop using a certain portion of its memory. The guest notifies the host of this memory so the host ca

[kvm-devel] [PATCH 5/6] virtio block driver

2008-03-29 Thread Anthony Liguori
This patch implements the virtio block driver backend. Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]> diff --git a/Makefile.target b/Makefile.target index 3ea40d1..f9fe660 100644 --- a/Makefile.target +++ b/Makefile.target @@ -535,7 +535,7 @@ OBJS += rtl8139.o OBJS += e1000.o # virtio dev

Re: [kvm-devel] [PATCH] Use QEMU functions to access guest memory for virtio

2008-03-29 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: > >>> #define s_ld_u64(phys, field, type) \ >>> ldq_phys(phys + offsetof(field, type)) >>> >>> >>> And now we don't need individual accessors, or to encode the offsets >>> as magic numbers. >>> >> It's a nice thought but it doesn't work ou

[kvm-devel] [ kvm-Bugs-1928933 ] unhandled wrmsr: 0xc0010004

2008-03-29 Thread SourceForge.net
Bugs item #1928933, was opened at 2008-03-29 20:58 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1928933&group_id=180599 Please note that this message will contain a full copy

Re: [kvm-devel] idle load

2008-03-29 Thread Dor Laor
On Fri, 2008-03-28 at 23:41 +, Antoine Martin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi, > > Guests seem to be doing a lot of timer related polling, is there any way > to reduce that (which would reduce load on the host): > It's weird we don't see any ioctl in the m

[kvm-devel] I can shoot 3 meters

2008-03-29 Thread dhara Hawboldt
Buy one and you will get 2 free Get your kicks and highs without hassle here. http://www.weilouyt.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open

Re: [kvm-devel] [kvm-ppc-devel] virtio-net working on PowerPC KVM

2008-03-29 Thread Zhang Wei
Hi, Hollis, Hollis Blanchard wrote: > I'm pleased to report that we now have working network support in the > guest, via the virtio-net driver. In fact, we can use NFS for the > guest's root filesystem. :) Boot log attached. > Congratulations! That's a milestone! > The bad news is that it's ver

Re: [kvm-devel] [ANNOUNCE] kvm-guest-drivers-windows-1

2008-03-29 Thread Felix Leimbach
> [posting this in part as a warning, lest others go through the process > of setting Windows up on a guest using SCSI and end up needing to throw > out the install -- XP doesn't seem to take well to its SCSI drive > becoming IDE without a reinstall]. > While I agree that the situation is tr