1

In Mint 21.3/Ubuntu 22.04 I had qemu 6.2 working with Win11 VM (test machine). Due to other issue, in the meantime upgraded qemu to 9.0 from ppa:canonical-server/server-backports. But Win11 cannot run anymore, error is: TPM version '2.0' is not supported. I assume that type was Emulated.

Looked Qemu cannot run Windows 11 and Afer upgrading qemu, "unsupported machine type 'pc-i440fx-3.1". Tried to change machine='pc-q35-6.2' to machine='pc-q35-9.0' but that does not seem like a main issue.

swtpm remains installed but 0.6.3. May be the reason.
ppa:smoser/swtpm or ppa:stefanberger/swtpm do not support jammy (Ubuntu 22.04).

Note: after the error, I was clicking around in VMM setting of Windows machine and changed TPM to Passthrough, so new error for that would be Unable to find a satisfying virtiofsd. But I assume that is not relevant, except that is the error I get later when trying to run virsh start Windows.

When I virsh edit Windows and try to set back emulated in tpm (I hope that is correct), I get: error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng Extra element devices in interleave Element domain failed to validate content

Edit: Later found there is ppa:stefanberger/swtpm-jammy, so upgraded. Then set TPM to CRB, 'emulator' version='2.0' and that is improvement I can set. But still Unable to find a satisfying virtiofsd. If I change driver to virtio-9p, VM works. But I would not have shared filesystem then. So the issue still exists, as I need that.

Edit2: found that qemu 8.0 changed virtiofsd to use virtiofs-rs. Awful step, how to upgrade with Win client, how to install that new one. Other option may be to modify qemu to use old one, also how.

TimSO
  • 21

1 Answers1

1

There were 3 steps to upgrade:

  1. use ppa:canonical-server/server-backports for qemu 9.0
  2. use ppa:stefanberger/swtpm-jammy for swtpm 0.10
  3. get and install package virtiofsd 1.10 for Ubuntu 24.04
TimSO
  • 21