On Mon, Jul 11, 2022 at 06:53:02AM -0500, Jaime Rodriguez wrote:
> Hello Team,
> I am trying to compress a windows 10VM on Eve-ng with the 'virt-sparsify'. 
> 
> Initial Command Run:  virt-sparsify  --compress virtioa.qcow2
> compressedvirtioa.qcow2
> 
> Added debugging and ran again with '-v -x' parameters to get output. 
> 
> Please see the attached file. 
> 
> apt list --installed | grep libguest
> libguestfs-perl/focal,now 1:1.40.2-7ubuntu5 amd64 [installed,automatic]
> libguestfs-tools/focal,now 1:1.40.2-7ubuntu5 amd64 [installed,automatic]
> libguestfs0/focal,now 1:1.40.2-7ubuntu5 amd64 [installed,automatic]

The error message is:

qemu-system-x86_64: error: failed to set MSR 0x48f to 0x7fffff00036dfb
qemu-system-x86_64: /build/qemu-0Dw8aG/qemu-4.2/target/i386/kvm.c:2691:
kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.

If you search for this error you'll see it's quite common and
indicates that qemu / KVM is broken in some way.  You could force TCG
instead:

https://libguestfs.org/guestfs.3.html#force_tcg

Probably the long term fix is to upgrade your qemu and/or get your
distro to fix qemu.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to