From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Fri, 10 Oct 2008 14:25:36 +0000 Subject: Re: FW: [Bug 117] New: [KVM-IPF] RTL8139 emulated network card can Message-Id: <48EF65E0.5060104@sgi.com> List-Id: References: <42DFA526FC41B1429CE7279EF83C6BDC01ABC663@pdsmsx415.ccr.corp.intel.com> In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC01ABC663@pdsmsx415.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org Zhang, Xiantao wrote: > Hi, Jes > Currently, we only supports up to 8 vcpus, and to be safe, I set > the limit to 4 (Defined in include/asm/kvm_host.h). Maybe you can > increase the macro KVM_MAX_VCPUS to have a try. In order to support >8 > vcpus, we can decrease the size of vtlb and vhpt, also defined in > include/asm/kvm_host.h. Thanks! :0 > Xiantao Hi, I am seeing something interesting here, but it could be a fluke: I added this printk to my code: void leave_hypervisor_tail(void) { struct kvm_vcpu *v = current_vcpu; if (VMX(v, timer_check)) { VMX(v, timer_check) = 0; if (VMX(v, itc_check)) { if (vcpu_get_itc(v) > VCPU(v, itm)) { if (v->vcpu_id > 1) printk("vcpu %i irq check\n", v->vcpu_id); Now I am seeing this in my syslog: Oct 10 07:21:34 a4700rac kernel: vcpu 5 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 3 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 2 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 5 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 3 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 2 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 5 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 3 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 2 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 5 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 3 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 2 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 5 irq check Oct 10 07:21:34 a4700rac kernel: vcpu 3 irq check Note that I never seem to see irq checks for cpus 4, 6, 7 ..... maybe syslog is chewing them up though, but it seems strange that they never seem to appear. This is when I boot with 8 vcpus. Cheers, Jes