]> xenbits.xensource.com Git - libvirt.git/commit
Prevent crash of libvirtd when attaching to existing qemu process
authorJim Fehlig <jfehlig@suse.com>
Wed, 7 Dec 2011 18:23:03 +0000 (11:23 -0700)
committerJim Fehlig <jfehlig@suse.com>
Wed, 7 Dec 2011 18:23:03 +0000 (11:23 -0700)
commit284230199af915a90322d6cc4a6210aaa2a33b28
treef538a5acf04854e131610fbc1728419aa800c36e
parent8d16201fe0e63afb5416a8eb7c6478f582ccccc0
Prevent crash of libvirtd when attaching to existing qemu process

With security_driver set to "none" in /etc/libvirt/qemu.conf,
libvirtd would crash when attempted to attach to an existing
qemu process.  Only copy the security model if it actually exists.
src/qemu/qemu_process.c