Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify different machine type in create.sh #22

Open
ghost opened this issue Feb 15, 2024 · 1 comment
Open

Specify different machine type in create.sh #22

ghost opened this issue Feb 15, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 15, 2024

When creating the VM XML configuration for virsh, the machine type pc-i440fx-focal is used, which is unavailable on Arch Linux and the create.sh script throws an error.

However, based on the output of virsh capabilities on Arch, it would seem that there is a generic pc option which should link to the latest pc-i440fx machine type. Would it be possible to use pc instead?

Example output from virsh for x86_64 on Arch:

      <machine maxCpus='255'>pc-i440fx-8.2</machine>
      <machine canonical='pc-i440fx-8.2' maxCpus='255'>pc</machine>
@jstrieter
Copy link

Changing machine to "pc" does, in fact, alias to "pc-i440fx".

<type arch="x86_64" machine="pc">hvm</type>

This allows successful creation of a Helios VM on Gentoo and should additionally work on any distro using QEMU 6.2 or later, as announced here.

Also tested and confirmed to still work on Ubuntu 20.04. It's using QEMU 6.28 apparently:

qemu/focal-updates,focal-security 1:4.2-3ubuntu6.28 amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant