Comment 5 for bug 1998026

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Verification done on jammy.

...

$ lsb_release -cs
jammy

$ sudo add-apt-repository -p proposed
$ sudo apt install xen-system-amd64

$ dpkg -s xen-system-amd64 | grep Version:
Version: 4.16.0-1~ubuntu2.1

...

Dom0:
----

 |*Ubuntu GNU/Linux, with Xen hypervisor
Loading Xen 4.16-amd64 ...
Loading Linux 5.15.0-56-generic ...
Loading initial ramdisk ...
(XEN) Xen version 4.16.0 (Ubuntu 4.16.0-1~ubuntu2.1)
...

$ sudo xl info | head -n4
host : xen-zstd-jammy
release : 5.15.0-56-generic
version : #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022
machine : x86_64

DomU PV:
-------

zstd kernel:

$ cat <<EOF >xen-5.15-vm.pv
name = "xen-5.15-vm.pv"
type = "pv"
kernel = "/boot/vmlinuz-5.15.0-56-generic"
cmdline = "console=ttyS0"
vcpus = 1
memory = 1024
EOF

$ sudo xl create -c xen-5.15-vm.pv
Parsing config from xen-5.15-vm.pv
[ 0.000000] Linux version 5.15.0-56-generic ...
 ...

non-zstd kernel:

$ wget https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/24655136/+files/linux-image-unsigned-5.4.0-133-generic_5.4.0-133.149_amd64.deb
$ dpkg-deb -x linux-image-unsigned-5.4.0-133-generic_5.4.0-133.149_amd64.deb kernel-5.4-deb

$ cat <<EOF >xen-5.4-vm.pv
name = "xen-5.4-vm.pv"
type = "pv"
kernel = "./kernel-5.4-deb/boot/vmlinuz-5.4.0-133-generic"
cmdline = "console=ttyS0"
vcpus = 1
memory = 1024
EOF

$ sudo xl create -c xen-5.4-vm.pv
Parsing config from xen-5.4-vm.pv
[ 0.000000] Linux version 5.4.0-133-generic ...
...