Re: init scripts for KVM guests UPDATE!

2009-07-17 Thread Michael Tokarev
Saman Behnam wrote: Hi there, here is an update for the "init scripts for KVM guests"I've wrote for starting and stopping the KVM guest machines either by saving and restoring or by gracefully shutdown and start. My question, is there an option within "libvirt" to make the KVM guest mashines ge

init scripts for KVM guests UPDATE!

2009-07-17 Thread Saman Behnam
Hi there, here is an update for the "init scripts for KVM guests"I've wrote for starting and stopping the KVM guest machines either by saving and restoring or by gracefully shutdown and start. My question, is there an option within "libvirt" to make the KVM guest mashines get saved when the KVM h

[ kvm-Bugs-2823323 ] depmod reports loop in kvm.ko

2009-07-17 Thread SourceForge.net
Bugs item #2823323, was opened at 2009-07-17 17:33 Message generated for change (Comment added) made by mtosatti You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2823323&group_id=180599 Please note that this message will contain a full copy of the comment

Re: [ANNOUNCE] kvm-88 release (CAN NOT install modules on debian/amd64/2.6.30)

2009-07-17 Thread Marcelo Tosatti
On Mon, Jul 13, 2009 at 12:01:25AM +0800, John Wong wrote: > [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined! > WARNING: "__tracepoint_kvm_mmu_pagetable_walk" > [/ramdisk/kvm-88/kvm/kernel/x86/kvm.ko] undefined! > WARNING: "__tracepoint_kvm_msi_set_irq" > [/ramdisk/kvm-88/kvm/kernel/x86/kvm.k

[PATCH] rev7: support colon in filenames

2009-07-17 Thread Ram Pai
Problem: It is impossible to feed filenames with the character colon because qemu interprets such names as a protocol. For example filename scsi:0, is interpreted as a protocol by name "scsi". This patch allows user to espace colon characters. For example the above filename can now be expressed ei

[ kvm-Bugs-2823323 ] depmod reports loop in kvm.ko

2009-07-17 Thread SourceForge.net
Bugs item #2823323, was opened at 2009-07-17 17:33 Message generated for change (Tracker Item Submitted) made by azimandius You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2823323&group_id=180599 Please note that this message will contain a full copy of t

Timeout of network interface with OpenBSD 4.5 VM

2009-07-17 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! Until today I was using OpenBSD 4.5 like KVM virtual machine on Ubuntu Hardy Heron server amd64 with KVM-62. But due to a bug that could affect to hosts with a high rate of I/O [1], I decided to update to KVM-88 compiled from sources from KVM

Re: [PATCH 08/10] Move IO APIC to its own lock.

2009-07-17 Thread Marcelo Tosatti
On Fri, Jul 17, 2009 at 08:32:00PM +0300, Gleb Natapov wrote: > > There are a few issues that kvm_set_irq return code cannot handle, > > AFAICS (please correct me if i'm wrong, or provide useful points for > > discussion). > > > > case 1) > > 1. kvm_set_irq, delivered OK (IOW, assume guest has ack

Re: [PATCH 08/10] Move IO APIC to its own lock.

2009-07-17 Thread Gleb Natapov
On Fri, Jul 17, 2009 at 12:19:58PM -0300, Marcelo Tosatti wrote: > On Thu, Jul 16, 2009 at 11:49:35PM +0300, Gleb Natapov wrote: > > On Thu, Jul 16, 2009 at 03:09:30PM -0300, Marcelo Tosatti wrote: > > > On Thu, Jul 16, 2009 at 10:51:16AM +0300, Gleb Natapov wrote: > > > > On Wed, Jul 15, 2009 at 0

Re: [PATCH -v6] QEMU-KVM: MCE: Add MCE simulation support to qemu/kvm

2009-07-17 Thread Marcelo Tosatti
On Wed, Jul 15, 2009 at 03:40:32PM +0800, Huang Ying wrote: > KVM ioctls are used to initialize MCE simulation and inject MCE. The > real MCE simulation is implemented in Linux kernel. The Kernel part > has been merged. Huang, Please regenerate against qemu-kvm.git next branch (sorry for the chur

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Glauber Costa
On Fri, Jul 17, 2009 at 12:57:38PM -0300, Marcelo Tosatti wrote: > On Fri, Jul 17, 2009 at 12:46:23PM -0300, Marcelo Tosatti wrote: > > On Fri, Jul 17, 2009 at 12:49:04PM -0300, Glauber Costa wrote: > > > On Fri, Jul 17, 2009 at 12:39:17PM -0300, Marcelo Tosatti wrote: > > > > On Wed, Jul 15, 2009

Re: Set the iothread's eventfd/pipe descriptors to non-blocking

2009-07-17 Thread Marcelo Tosatti
On Fri, Jul 17, 2009 at 01:18:58AM +0300, Dor Laor wrote: > It replaces the previous fix of using select. > >From ab5ae4bb69f8ab6c9a476f7823cb8d6729d31594 Mon Sep 17 00:00:00 2001 > From: Dor Laor > Date: Wed, 15 Jul 2009 17:53:16 +0300 > Subject: [PATCH] Set the iothread's eventfd/pipe descript

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Marcelo Tosatti
On Fri, Jul 17, 2009 at 12:46:23PM -0300, Marcelo Tosatti wrote: > On Fri, Jul 17, 2009 at 12:49:04PM -0300, Glauber Costa wrote: > > On Fri, Jul 17, 2009 at 12:39:17PM -0300, Marcelo Tosatti wrote: > > > On Wed, Jul 15, 2009 at 12:31:40PM -0400, Glauber Costa wrote: > > > > Start using kvm_vm_ioct

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Marcelo Tosatti
On Fri, Jul 17, 2009 at 12:49:04PM -0300, Glauber Costa wrote: > On Fri, Jul 17, 2009 at 12:39:17PM -0300, Marcelo Tosatti wrote: > > On Wed, Jul 15, 2009 at 12:31:40PM -0400, Glauber Costa wrote: > > > Start using kvm_vm_ioctl's code. > > > For type safety, delete vm_fd from kvm_context entirely,

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Glauber Costa
On Fri, Jul 17, 2009 at 12:39:17PM -0300, Marcelo Tosatti wrote: > On Wed, Jul 15, 2009 at 12:31:40PM -0400, Glauber Costa wrote: > > Start using kvm_vm_ioctl's code. > > For type safety, delete vm_fd from kvm_context entirely, so the > > compiler can play along with us helping to detect errors I m

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Marcelo Tosatti
On Wed, Jul 15, 2009 at 12:31:40PM -0400, Glauber Costa wrote: > Start using kvm_vm_ioctl's code. > For type safety, delete vm_fd from kvm_context entirely, so the > compiler can play along with us helping to detect errors I might > have made. > > Signed-off-by: Glauber Costa > --- > kvm-all.c

Re: [PATCH 08/10] Move IO APIC to its own lock.

2009-07-17 Thread Marcelo Tosatti
On Thu, Jul 16, 2009 at 11:49:35PM +0300, Gleb Natapov wrote: > On Thu, Jul 16, 2009 at 03:09:30PM -0300, Marcelo Tosatti wrote: > > On Thu, Jul 16, 2009 at 10:51:16AM +0300, Gleb Natapov wrote: > > > On Wed, Jul 15, 2009 at 06:38:48PM -0300, Marcelo Tosatti wrote: > > > > On Wed, Jul 15, 2009 at 1

[PATCH] Add UUID option into kvm command line

2009-07-17 Thread Yolkfull Chow
Signed-off-by: Yolkfull Chow --- client/tests/kvm/kvm_vm.py | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index 503f636..48f2916 100644 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/k

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Glauber Costa
On Fri, Jul 17, 2009 at 10:35:43AM -0300, Marcelo Tosatti wrote: > On Wed, Jul 15, 2009 at 12:31:40PM -0400, Glauber Costa wrote: > > Start using kvm_vm_ioctl's code. > > For type safety, delete vm_fd from kvm_context entirely, so the > > compiler can play along with us helping to detect errors I m

Re: [PATCH 2/5] reuse kvm_vm_ioctl

2009-07-17 Thread Marcelo Tosatti
On Wed, Jul 15, 2009 at 12:31:40PM -0400, Glauber Costa wrote: > Start using kvm_vm_ioctl's code. > For type safety, delete vm_fd from kvm_context entirely, so the > compiler can play along with us helping to detect errors I might > have made. > > Signed-off-by: Glauber Costa > --- > kvm-all.c

qemu-kvm missing some msix capability check

2009-07-17 Thread Amit Shah
Hello, Using recent qemu-kvm userspace with a slightly older kernel module I get this when using the virtio-net device: kvm_msix_add: kvm_get_irq_route_gsi failed: No space left on device ... and the guest doesn't use the net device. This goes away when using a newer kvm module.

Re: Failed to compile kvm-88

2009-07-17 Thread Anthony Liguori
Jun Koi wrote: On Fri, Jul 17, 2009 at 2:59 PM, Sheng Yang wrote: Oops, I once think --disable-xen didn't work, then just comment all the thing out... Well, I still a little unhappy about --disable-xen must be explicit set. It should be configure script's work to figure if fit the compilatio

Re: Connection between KVM and QEMU.

2009-07-17 Thread Amit Shah
On (Fri) Jul 17 2009 [11:48:32], Rakesh Avichal Ughreja wrote: > Hello All, > > I am trying to understand the what is the connection between KVM and QEMU. > > The way I understand it so far from the information on the net, KVM is > an emulator for x86 based machine and it uses the virtualization

Re: How much physical memory can be used to run domains in a KVM machine?

2009-07-17 Thread Amit Shah
On (Fri) Jul 17 2009 [15:26:49], sudhir kumar wrote: > On Fri, Jul 17, 2009 at 12:47 PM, Dor Laor wrote: > > On 07/17/2009 08:50 AM, Zhang Qian wrote: > >> > >> Hi, > >> > >> I have a KVM box which has 4GB physical memory totally, I'd like to > >> know how much I can use to run my domains, and how

Re: [PATCH] Specify the system UUID for VM

2009-07-17 Thread Michael Goldish
- "Yolkfull Chow" wrote: > On Thu, Jul 16, 2009 at 08:49:30AM -0400, Michael Goldish wrote: > > I'd do this a little differently, because of the constraints imposed > by the different purposes of VM.create() and VM.make_qemu_command(). > > > > - "Yolkfull Chow" wrote: > > > > > Signed

Re: How much physical memory can be used to run domains in a KVM machine?

2009-07-17 Thread sudhir kumar
On Fri, Jul 17, 2009 at 12:47 PM, Dor Laor wrote: > On 07/17/2009 08:50 AM, Zhang Qian wrote: >> >> Hi, >> >> I have a KVM box which has 4GB physical memory totally, I'd like to >> know how much I can use to run my domains, and how much will be >> reserved by hypervisor(KVM) itself? >> Thanks! >> >

Re: [PATCH] Specify the system UUID for VM

2009-07-17 Thread Yolkfull Chow
On Thu, Jul 16, 2009 at 08:49:30AM -0400, Michael Goldish wrote: > I'd do this a little differently, because of the constraints imposed by the > different purposes of VM.create() and VM.make_qemu_command(). > > - "Yolkfull Chow" wrote: > > > Signed-off-by: Yolkfull Chow > > --- > > client

[PATCH 2/2] kvm: allow qemu to set EPT identity mapping address

2009-07-17 Thread Sheng Yang
If we use larger BIOS image than current 256KB, we would need move reserved TSS and EPT identity mapping pages. Currently TSS support this, but not EPT. Signed-off-by: Sheng Yang --- kvm/include/linux/kvm.h |2 ++ qemu-kvm-x86.c | 45 +

[PATCH 1/2] KVM: Introduce KVM_SET_IDENTITY_MAP_ADDR ioctl

2009-07-17 Thread Sheng Yang
Now KVM allow guest to modify guest's physical address of EPT's identity mapping page. Signed-off-by: Sheng Yang --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/vmx.c | 13 + arch/x86/kvm/x86.c | 16 include/linux/kvm.h

Re: How much physical memory can be used to run domains in a KVM machine?

2009-07-17 Thread Dor Laor
On 07/17/2009 08:50 AM, Zhang Qian wrote: Hi, I have a KVM box which has 4GB physical memory totally, I'd like to know how much I can use to run my domains, and how much will be reserved by hypervisor(KVM) itself? Thanks! KVM and the Linux host use relatively low amount of memory. Unlike othe