Re: Regarding KVM

2011-12-28 Thread Zhen-Hua Li
In short, when you running qemu and enabled KVM, kvm only gives virtual cpu and gets the commands from your vm and give them to VT. KVm does not have other hardware. The hardware are provided by qemu or other vms. -Original Message- From: kvm-ow...@vger.kernel.org

Re: Is that possible to virtualize a kernel module?

2011-12-28 Thread Zhen-Hua Li
Do you mean that you want to run a kernel in another VM? I think it is not possible. I have checked it. In a qemu with kvm enabled, # cat /proc/cpuinfo | grep ^flags flags : fpu de pse tsc msr pae mce cx8 apic sep pge cmov mmx fxsr sse sse2 up pni popcnt hypervisor It does not have

Re: What does LP stands for?

2011-12-13 Thread Zhen-Hua Li
Thanks to Avi Kivity. I think you are right. On Tue, Dec 13, 2011 at 8:59 PM, Avi Kivity a...@redhat.com wrote: On 12/13/2011 04:16 AM, Zhen-Hua Li wrote: Hi all, I saw a line from some document: KVM  supports 4096 LPs ,    What does LP stands for? Logical processors (on the host

data type of member vcpu_id of struct kvm_vcpu

2011-12-13 Thread Zhen-Hua Li
Hi all, I am reading kvm code in 3.2.0-rc4, and found line in virt/kvm/kvm_main.c:kvm_vm_ioctl_create_vcpu if (v-vcpu_id == id) { So I think the member vcpu_id should be u32 type. --- include/linux/kvm_host.h2011-12-02 06:56:01.0 +0800 +++

What does LP stands for?

2011-12-12 Thread Zhen-Hua Li
Hi all, I saw a line from some document: KVM  supports 4096 LPs ,What does LP stands for? Thanks -- 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