Introduce DOMAIN_DEVICE_ITERATE_MISSING_INFO
commitb00f32c34d42a279cb10c9595577a5301e3164f9
authorJán Tomko <jtomko@redhat.com>
Tue, 21 May 2019 13:05:37 +0000 (21 15:05 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 23 May 2019 12:41:16 +0000 (23 14:41 +0200)
tree2928e5d0ccc8e09f683888cda5ced2fcc3e3ae64
parentf3e777a3c4bcdc1e1a6b6ab628ce94baa7fc5c7a
Introduce DOMAIN_DEVICE_ITERATE_MISSING_INFO

Rename the DOMAIN_DEVICE_ITERATE_GRAPHICS flag.
It was introduced by commit dd45c2710f6fd2d4f8a47f97960532d0e0091e7d
with the intention to run the Validate callback even on the graphics
device.

However, enumerating every single device in virDomainDeviceIterateFlags
is unsustainable and what really was special about the graphics device
was the lack of DeviceInfo.

Rename the flag and iterate over more info-less devices. (and leases)

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c