[pve-devel] [PATCH qemu-server v8 6/7] check_local_resources: virtiofs

Markus Frank m.frank at proxmox.com
Thu Feb 22 11:44:51 CET 2024


On  2024-01-31 16:35, Fiona Ebner wrote:
> A 'migration: ' prefix would be nice for the commit title.
> 
> Am 08.11.23 um 09:52 schrieb Markus Frank:
>> add dir mapping checks to check_local_resources
>>
> 
> So, as long as there is a mapping for the target node, the migration
> check goes through. Should it? I mean, nothing ensures that the contents
> of the directory are the same on the target, or? What happens if they
> are not?
Yes. This is similar to the PCI & USB Mapping. Nothing ensures that the
mapped device/directory is the same on the other host.

If the contents are not the same they will not be the same.
But this should not be a problem as long as nothing in a VM depends on
something in the virtiofs directory.
This is something the user should take care of.
Or am I missing something?
> 
> Is migration with a directory on a shared storage reliable? With all
> cache settings?
I didn't encounter any problems.

Since the VM has to be powered off to migrate, I assume the cache gets
cleared & written to disk when virtiofs stops.

> 
> If you already tested these things, please share them in the commit
> message (and maybe also docs). Otherwise, I know nothing without testing
> myself ;)
Okay :)




More information about the pve-devel mailing list