KVM vs Xen/OpenVZ for VPS hosting business

2009-07-19 Thread howard chen
Hello, Currently both Xen and OpenVZ are well known and mature product used in hosting companies. How about KVM? What are the advantages if I use KVM as the VPS solution? E.g. performance? security? maintainity? I am not familar with KVM so want to know your opinion. Thanks. -- To

Re: init scripts for KVM guests UPDATE!

2009-07-19 Thread SAL
On Sat, Jul 18, 2009 at 02:13:44AM +0200, Saman Behnam wrote: here is an update for the init scripts for KVM guestsI'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

Re: init scripts for KVM guests UPDATE!

2009-07-19 Thread SAL
On Sun, Jul 19, 2009 at 11:51:44AM +0200, Ján ONDREJ (SAL) wrote: On Sat, Jul 18, 2009 at 02:13:44AM +0200, Saman Behnam wrote: here is an update for the init scripts for KVM guestsI've wrote for starting and stopping the KVM guest machines either by saving and restoring or by gracefully

subsribe kvm

2009-07-19 Thread Oliver Schmidt
-- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: failure to build kvm release against 2.6.30

2009-07-19 Thread Or Gerlitz
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory include/linux/mmzone.h:256:5: warning: MAX_NR_ZONES is not defined okay, my problem was that for some reason the auto generated linux/bounds.h file got cleaned from this system, now I can build that. Or. -- To

[PATCH] enable x2APIC without interrupt remapping under KVM

2009-07-19 Thread Gleb Natapov
KVM would like to provide x2APIC interface to a guest without emulating interrupt remapping device. The reason KVM prefers guest to use x2APIC is that x2APIC interface is better virtualizable and provides better performance than mmio xAPIC interface: - msr exits are faster than mmio (no page

Re: [PATCH] enable x2APIC without interrupt remapping under KVM

2009-07-19 Thread Ingo Molnar
* Gleb Natapov g...@redhat.com wrote: + if (!ret) { + /* IR is required if there is APIC ID 255 even when running + * under KVM + */ Eeek. + if (x2apic_preenabled) { + panic(x2apic enabled by bios. But IR enabling failed. +

Re: [PATCH] enable x2APIC without interrupt remapping under KVM

2009-07-19 Thread Gleb Natapov
On Sun, Jul 19, 2009 at 06:27:35PM +0200, Ingo Molnar wrote: * Gleb Natapov g...@redhat.com wrote: + if (!ret) { + /* IR is required if there is APIC ID 255 even when running +* under KVM + */ Eeek. + if (x2apic_preenabled) { +

Re: [PATCH] enable x2APIC without interrupt remapping under KVM

2009-07-19 Thread Ingo Molnar
* Gleb Natapov g...@redhat.com wrote: On Sun, Jul 19, 2009 at 06:27:35PM +0200, Ingo Molnar wrote: * Gleb Natapov g...@redhat.com wrote: + if (!ret) { + /* IR is required if there is APIC ID 255 even when running + * under KVM + */ Eeek.

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

2009-07-19 Thread Sheng Yang
On Friday 17 July 2009 17:56:49 sudhir kumar wrote: On Fri, Jul 17, 2009 at 12:47 PM, Dor Laordl...@redhat.com 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