Skip to contentSkip to conversation

How to run a HVM guest without pv

DISCUSSION Wen Congyang 4 participants 6 messages Nov 10, 2014

lore
Share & tools
lore
#0 lore raw

I disable xen-platform-pci in the config file, but when I start the guest, I found the following kernel message:

[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled

Thanks
Wen Congyang

#1 lore raw
Quoted 7 lines · Wen Congyang

I disable xen-platform-pci in the config file, but when I start the guest, I found the following kernel message:

[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled

Thanks
Wen Congyang

There is no current ability to do this.

Here, Linux will be detecting Xen using the hypervisor cpuid leaves at 0x40000000, but if you disable those in Xen, HVMLoader will fail due to being unable to gain a hypercall page.

It might be a plausible thing to be able to make an HVM domain with no paravirtual interfaces whatsoever, but it would require quite a bit of re-architecting of the current HVM infrastructure.

~Andrew

#2 lore raw
Quoted 11 lines · Andrew Cooper
Quoted 7 lines · Wen Congyang

I disable xen-platform-pci in the config file, but when I start the guest, I found the following kernel message:

[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled

Thanks
Wen Congyang

There is no current ability to do this.

Quoted 7 lines

Here, Linux will be detecting Xen using the hypervisor cpuid leaves at 0x40000000, but if you disable those in Xen, HVMLoader will fail due to being unable to gain a hypercall page.

It might be a plausible thing to be able to make an HVM domain with no paravirtual interfaces whatsoever, but it would require quite a bit of re-architecting of the current HVM infrastructure.

Thanks. The newest kernel has a new parameter: xen_nopv, but my guest kernel is old....

Quoted 3 lines

~Andrew

#3 lore raw
In reply to Wen Congyang
Quoted 4 lines · Wen Congyang

I disable xen-platform-pci in the config file, but when I start the guest, I found the following kernel message:

[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled

You can pass xen_nopv to the kernel command line

#4 lore raw
Quoted 8 lines · Stefano Stabellini
Quoted 4 lines · Wen Congyang

I disable xen-platform-pci in the config file, but when I start the guest, I found the following kernel message:

[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled

You can pass xen_nopv to the kernel command line

Yes, but I don't use the newest kernel...

Thanks
Wen Congyang

#5 lore raw
Quoted 11 lines · Wen Congyang
Quoted 8 lines · Stefano Stabellini
Quoted 4 lines · Wen Congyang

I disable xen-platform-pci in the config file, but when I start the guest, I found the following kernel message:

[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled

You can pass xen_nopv to the kernel command line

Yes, but I don't use the newest kernel...

You can backport the patch. It is very small.

Quoted 8 lines

Thanks
Wen Congyang

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel