[opensuse-virtual] Xen guest types on OpenSUSE. I can get PV working, but not PVHVM. Need some help figuring out what's wrong.
I'm working on guests on a a Leap Xen server, rpm -qa kernel-default xen xen-4.6.0_08-404.1.x86_64 kernel-default-4.4.0-5.1.gb56b151.x86_64 I can set up a PV guest cat /etc/xen/vm/test_pv name = 'test' builder = 'linux' bootloader = 'pygrub' bootargs = '' disk = [ 'phy:/dev/VG0/TEST_OS,xvda,w',] root = '/dev/xvdc1' vif = [ 'mac=00:16:4f:02:02:15, bridge=br0, vifname=vif0',] extra = 'textmode=1 xencons=xvc0 console=hvc0' on_crash = 'destroy' on_shutdown = 'destroy' on_reboot = 'restart' vcpus = 4 xen_platform_pci = 0 I launch it xl create -c /etc/xen/vm/test_pv and it works okay. I want to switch the guest type from PV -> PVHVM. Reading docs on the Xen site http://wiki.xen.org/wiki/Xen_Linux_PV_on_HVM_drivers I change the config to cat /etc/xen/vm/test_pvhvm name = 'test' builder = 'linux' bootloader = 'pygrub' bootargs = '' disk = [ 'phy:/dev/VG0/TEST_OS,hda,w',] root = '/dev/hda1' vif = [ 'mac=00:16:4f:02:02:15, bridge=br0, vifname=vif0, model=e1000',] extra = 'textmode=1 xencons=xvc0 console=hvc0' on_crash = 'destroy' on_shutdown = 'destroy' on_reboot = 'restart' vcpus = 4 xen_platform_pci = 1 But when I launch this one xl create -c /etc/xen/vm/test_pvhvm It gets only this far xl create -c pvhvm.cfg pyGRUB version 0.6 ┌────────────────────────────────────────────────────────────────────────┐ │ openSUSE Leap 42.1 │ │ openSUSE Leap 42.1, with Linux 4.4.0-5.gb56b151-default │ │ openSUSE Leap 42.1, with Linux 4.4.0-5.gb56b151-default (recovery mode)│ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────┘ Use the ^ and ┴ keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for a command line. Will boot selected entry in 7 seconds [ 0.116131] dmi: Firmware registration failed. [ 1.587244] mce: Unable to init device /dev/mcelog (rc: -5) I'm sure I'm missing some install and set up. Any ideas what? I'd appreciate a hand. Thanks. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Sun, Jan 24, suse.dev@fea.st wrote:
I want to switch the guest type from PV -> PVHVM.
builder="hvm" is for HVM, builder="linux" is for PV. In an HVM guest the emulated BIOS uses the well documented MBR boot concept to run bootloader and kernel, while a PV guest loads gets its kernel either from dom0 (kernel= or boot=pygrub) or from a pvgrub (kernel=pvgrub). This means the disk used in a PV guest has to be prepared for MBR boot. xen_platform_pci= by itself does not mean much. Its purpose is mostly to disable the emulated PCI device which is used by the PV drivers in a HVM guest. Olaf -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
builder="hvm" is for HVM, builder="linux" is for PV.
Yeah got it all sorted. Once I understood that PVHVM is actually HVM with PV extensions - not a PV guest. Not a lot of docs for Opensuse, but found mostly current examples on the Xen site that helped. Thanks. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (2)
-
Olaf Hering
-
suse.dev@fea.st