Re: Same host migration

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

 



On Sat, Jun 08, 2019 at 23:03:50 +0300, Vasiliy Tolstov wrote:
> чт, 6 июн. 2019 г. в 14:19, Sukrit Bhatnagar <skrtbhtngr@xxxxxxxxx>:
> >
> > Hi,
> >
> > I have been selected for GSoC'19 under qemu and was
> > trying out migration of the pvrdma device.
> > For my current task, I need to perform a "null" migration
> > i.e. migrate the VM to the same host for testing purpose.
> > I am using libvirt 5.1.0 on Fedora 30.
> >
> > >From what I know, libvirt does not allow this type of
> > migration by default.
> > Trying this:
> > virsh migrate --unsafe --verbose fedora29 qemu+unix:///system
> > results in the following error:
> > error: internal error: Attempt to migrate guest to the same host dell
> >
> > Is there some way I can get this to work? If the solution
> > requires changing the source code, then that is
> > also fine. Using qemu-system-x86_64 to perform
> > migration allows same-host migration. I need the same
> > functionality using virsh as libvirt performs some additional
> > servicing which is required for the device I am migrating.
> >
> > Thanks,
> > Sukrit
> >
> 
> Yeah, this feature also will be useful to able to upgrade qemu on the
> file (install never package, do all vm same host migration, that
> starts never qemu process).

Note that libvirt uses the machine name in many places which makes it
almost impossible to run two VMs with the same name on the single host,
so apart from removing the limitation mentioned above (which I'm not
sure if we want to remove it) the migration MUST change name of the VM.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux