Software > User Zone

Void Linux thread

<< < (12/12)

MPC7500:
Yes. Easier to maintain and better than Void. Still, too bad, since I'm pretty familiar with Void by now. The Void docs are pretty good.

rjzak:
Regarding Void's (and Chimera's) use of 4k pages, how is this used with Qemu & virt-manager? Virt-manager is nice since it creates the XML for libvirt, but I run into the issue where Qemu complains about wanting 64k pages, but not being able to do so on 4k pages.

The Void PPC doc has an entry regarding this: https://docs.voidlinux-ppc.org/configuration/virtualization.html
Which specifies to use -machine pseries,cap-hpt-max-page-size=4096.

How is this specified in the virt-manager or libvirt XML? Looking at https://libvirt.org/drvqemu.html, the closest I could find is using <qemu:commandline>, but that doesn't help, nor does adding the page size flag to machine="pseries".

Corvidae:

--- Quote from: rjzak on October 31, 2022, 12:00:15 pm ---Regarding Void's (and Chimera's) use of 4k pages, how is this used with Qemu & virt-manager? Virt-manager is nice since it creates the XML for libvirt, but I run into the issue where Qemu complains about wanting 64k pages, but not being able to do so on 4k pages.

The Void PPC doc has an entry regarding this: https://docs.voidlinux-ppc.org/configuration/virtualization.html
Which specifies to use -machine pseries,cap-hpt-max-page-size=4096.

How is this specified in the virt-manager or libvirt XML? Looking at https://libvirt.org/drvqemu.html, the closest I could find is using <qemu:commandline>, but that doesn't help, nor does adding the page size flag to machine="pseries".

--- End quote ---

Something like this should work:

<features>
    <hpt resizing="required">
      <maxpagesize unit="KiB">4</maxpagesize>
    </hpt>
</features>

It's not mentioned in any libvirt documentation I could find - I think I had to end up reading through the unit tests to find where this option was.

rjzak:
Wow, that did it! Thank you!

Navigation

[0] Message Index

[*] Previous page

Go to full version