-
Notifications
You must be signed in to change notification settings - Fork 52
Update KVM config #288
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
base: master
Are you sure you want to change the base?
Update KVM config #288
Conversation
Using a slightly modified Generic Linux 2024 configuration with slight modifications actually works pretty well. Only the following modifications need to be made: - Chipset must be i440FX (otherwise neither the hard drive nor the ethernet adapter are detected for some reason) - Video adapter must be 'vmvga' with the custom XML - Sound must be AC97 (kept from the previous docs) - Firmware must be UEFI Note that I can neither confirm nor deny if xsave instructions play any role. They might if under the legacy BIOS, but apparently under UEFI, they don't matter. I also haven't tested sound yet, so I'm keeping the recommendation to use AC97 for now.
JMadgwick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about legacy BIOS won't work!, I think this is supposed to work. It would be good to have the configuration which supports this.
My assumption right now is that it's because I didn't disable |
|
So I finally remembered the real reason why I put "legacy BIOS won't work!": it doesn't. To try and troubleshoot this issue, I tried disabling the CPU Despite that, OpenIndiana won't boot under the legacy BIOS in virt-manager. With UEFI, however, I need no such configuration and everything works. (This might be another separate issue to report elsewhere too). |
|
I had a look and remembered there's a known issue/quirk with using BIOS and booting from the USB image. If you were stuck with the "Requesting System Maintenance Mode" message and nothing happening then try the CD installer instead. KVM is able to boot the USB image by specifying the boot media as a USB storage device. For QEMU this is done with |
The issue I previously described here actually occurs with the CD installer. Whenever you attempt to boot the CD installer in a VM using the legacy BIOS in virt-manager, it boots for a few seconds only for it to crash a few seconds after and then quickly reboot the system. With that being said, I do wonder if there would be any difference with using the USB image.
Noted! I'll try remembering this when booting from the USB installer! 😄 |
I recently tested OpenIndiana 2025.10 under KVM, and with the following configuration, it actually works pretty well in my opinion. I therefore have decided to update docs to reflect that right here.
The base configuration used is Generic Linux 2024. You need to make the following modification for OpenIndiana to work:
Note that I can neither confirm nor deny if xsave instructions play any role. They might if under the legacy BIOS, but apparently under UEFI, they don't matter. Therefore, I decided to remove that mention, but it can be restored if necessary. I also haven't tested sound yet, so I'm keeping the recommendation to use AC97 for now.