Upgrade machine type during migration

Peter Krempa pkrempa at redhat.com
Mon Mar 13 08:31:51 UTC 2023


On Sat, Mar 11, 2023 at 18:35:20 +0100, Michael Schwartzkopff wrote:
> Hi,
> 
> 
> I have an old system. The guest there is defined with:
> 
>   <os>
>     <type arch='x86_64' machine='pc-q35-rhel8.2.0'>hvm</type>
>   </os>
> 
> 
> When I try to migrate this guest to a new system I get the error:
> 
> error: internal error: unable to execute QEMU command 'blockdev-add': Failed
> to connect socket: Permission denied

You seem to be using migration with non-shared storage. Could you please
post the full set of parameters you are passing to the migration API?

(or the full virsh commandline arguments)

This error seems to be a problem with setting up the disk migration
connection and (as also Daniel pointed out) has nothing to do with the
machine type.


More information about the libvirt-users mailing list