]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't store disk alias in qemuAgentDiskInfo
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 10 Jan 2020 23:32:12 +0000 (17:32 -0600)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 16 Jan 2020 15:35:46 +0000 (16:35 +0100)
commit306b4cb070b8f57a22a261d1f097283f4ef84e65
tree437701e8588d4de54187280cddda3b9469837359
parentbdb8a800b4920cf9184fd2fd117b17c67ba74dfb
qemu: Don't store disk alias in qemuAgentDiskInfo

The qemuAgentDiskInfo structure is filled with information received from
the agent command response, except for the 'alias' field, which is
retrieved from the vm definition. Limit this structure only to data that
was received from the agent message.

This is another intermediate step in moving the responsibility for
searching the vmdef from qemu_agent.c to qemu_driver.c so that we can
avoid holding an agent job and a normal job at the same time.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_agent.c