[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt-users] Internal error reported by libvirt while creating a VM

On Tue, 2019-10-01 at 17:55 -0400, Ajay Kumar wrote:
> Hi Andrea,
> Thank you for your response. Sure I don't CC  to libvirt developers.

Please keep the list in the loop, though! I've re-added it.

> I am getting an error while creating a Win10 virtual machine using VMM or virt-manager GUI.
> I could configure the windows 10 quest using its XML file only ofter creating a VM using virt-manager GUI in the following the path /etc/libvirt/qemu.
> The modified QEMU emulator is running correctly 
> @ubuntu-kvm3:/usr/local/bin$ ls
> ivshmem-client  qemu-ga   qemu-io   qemu-pr-helper      virsh       virt-host-validate  virt-pki-validate  vmi-dump-memory  vmi-process-list  vmi-win-offsets
> ivshmem-server  qemu-img  qemu-nbd  qemu-system-x86_64  virt-admin  virt-login-shell    virt-xml-validate  vmi-module-list  vmi-win-guid

This only proves that you've installed it, not that it works.

And as I said, the modified binary probably works fine on its own but
libvirt might not be able to drive it, at least without tweaks.

> @ubuntu-kvm3:/etc/libvirt/qemu$ ls
> networks

Just for the record, you're not supposed to modify files in
/etc/libvirt/qemu directly; use virsh instead.

> I couldn't see guest XML file here(because the VM creation was not done).
> attached snap displaying error while creating a VM. 

If you run

  $ virt-manager --debug

from the command line you will get a lot of output, including the
XML that's passed to libvirt. Please attempt the installation again,
capture that output in a plain text file and send it to the list as
an attachment.

Also run

  $ /usr/local/bin/qemu-system-x86_64 -machine help

and attach the output of that command, too.

That should help us figure out what's wrong.

Andrea Bolognani / Red Hat / Virtualization

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]