On Fri, 27 Mar 2026 08:30:45 +0000
Michael Kelly <[email protected]> wrote:

> The argument list passed to qemu-system-x86_64 when my image is launched 
> from the virtual machine manager is very long but does boot successfully 
> using the i440FX chipset with piixide driver. I've attached that to 
> avoid cluttering this reply in case anyone can spot the arguments that 
> make the difference. I can't see any difference in the console output 
> between the successful and unsuccessful cases up until the 
> 'Input/output' error.

When the qemu VM is managed by libvirt, it is possible to send 'monitor' 
commands using virsh's "qemu-monitor-command" (most useful with the '--hmp' 
flag).

This enables to retrieve the "qtree", which might be interesting when compared 
with a command-line spawned VM.

Here is the command that worked for me:
virsh -c qemu:///session qemu-monitor-command hurd-amd64 --hmp info qtree

It revealed that the libvirt managed VM has a sata PCI controller with a disk 
in IDE mode. Indeed, the qemu command-line here is a bit different since it has 
`-device {"driver":"ide-hd","bus":"sata0.0"...`

I hope this command can help you figure out the difference on your side.

Regards,
-- 
Olivier Valentin <[email protected]>

Reply via email to