]> xenbits.xensource.com Git - libvirt.git/commit
qemu: don't use vm when lock is dropped in qemuDomainGetFSInfo
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Mon, 12 Dec 2016 09:13:43 +0000 (12:13 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 12 Dec 2016 22:14:11 +0000 (17:14 -0500)
commitc9a191fc481a950edc72afcb6ea9556edbaebb23
treecde4457385adb82503d7e7ba59e83724dd22ae08
parent3ab9652a8679e17fb108ef7a6a6422dfd7149eb1
qemu: don't use vm when lock is dropped in qemuDomainGetFSInfo

Current call to qemuAgentGetFSInfo in qemuDomainGetFSInfo is
unsafe. Domain lock is dropped and we use vm->def. Let's make
def copy to fix that.
src/qemu/qemu_driver.c