Re: FW: [Bug 117] New: [KVM-IPF] RTL8139 emulated network card can not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe kvm-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux