Re: [libvirt PATCH] src: reject empty string for 'dname' in migrate APIs

2023-11-10 Thread Jiri Denemark
On Wed, Nov 08, 2023 at 16:23:57 +, Daniel P. Berrangé wrote: > A domain name is expected to be non-empty, and we validate this when > parsing XML, or accepting a new name during renames. We fail to > enforce this property, however, when performing a migration. This > was discovered when a user

[libvirt PATCH] src: reject empty string for 'dname' in migrate APIs

2023-11-08 Thread Daniel P . Berrangé
A domain name is expected to be non-empty, and we validate this when parsing XML, or accepting a new name during renames. We fail to enforce this property, however, when performing a migration. This was discovered when a user complained about inaccessible VMs after migrating with the Rust APIs whic