]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainInterfaceAddresses: Allow API on RO connection too
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 11 Jan 2016 11:48:30 +0000 (12:48 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 11 Jan 2016 12:36:19 +0000 (13:36 +0100)
commit95c370f0eead8ab0bedf333d54019f55aa001116
treea598c813487e528d0124e6502df01cef32f320db
parentdeb3e802de4e5b82ad80650d310acf2267372c4d
virDomainInterfaceAddresses: Allow API on RO connection too

This API does not change domain state. However, we have a policy
that an API talking to a guest agent requires RW access. But that
happens only if source == VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_AGENT.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt-domain.c