Fix modifying disk devices in qemu driver
Fix modifying disk devices in qemu driver

When modifying the disk devices of a live domain and the domain
configuration, the function qemuDomainAttachDeviceConfig
first sets dev->data->disk to NULL. Later qemuDomainAttachDeviceLive
accesses dev->data.disk and causes a segfault.
* src/qemu/qemu_driver.c: fix qemuDomainModifyDeviceFlags() accordingly

libvirt/libvirt,agx/libvirt,kantai/libvirt-vfork,agx/libvirt,jeckersb/libvirt,datto/libvirt,rmarwaha/libvirt,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,datto/libvirt,eskultety/libvirt,libvirt/libvirt,warewolf/libvirt,rmarwaha/libvirt1,shugaoye/libvirt,iam-TJ/libvirt,jfehlig/libvirt,jeckersb/libvirt,crobinso/libvirt,novel/fbsd-libvirt,agx/libvirt,warewolf/libvirt,elmarco/libvirt,nertpinx/libvirt,bjzhang/libvirt,shugaoye/libvirt,elmarco/libvirt,dumbbell/libvirt,taget/libvirt,wiedi/libvirt,taget/libvirt,leilihh/libvirt,trainstack/libvirt,emaste/libvirt,warewolf/libvirt,jeckersb/libvirt,rmarwaha/libvirt,trainstack/libvirt,danwent/libvirt-ovs,crobinso/libvirt,VenkatDatta/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,agx/libvirt,danwent/libvirt-ovs,siboulet/libvirt-openvz,dumbbell/libvirt,leilihh/libvirt,crobinso/libvirt,wiedi/libvirt,rlaager/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,soulxu/libvirt-xuhj,foomango/libvirt,iam-TJ/libvirt,VenkatDatta/libvirt,eskultety/libvirt,novel/fbsd-libvirt,warewolf/libvirt,nertpinx/libvirt,usc-isi/libvirt,andreabolognani/libvirt,dumbbell/libvirt,usc-isi/libvirt,kantai/libvirt-vfork,crobinso/libvirt,fabianfreyer/libvirt,datto/libvirt,jeckersb/libvirt,usc-isi/libvirt,leilihh/libvirt,cbosdo/libvirt,dumbbell/libvirt,bjzhang/libvirt,iam-TJ/libvirt,jardasgit/libvirt,bjzhang/libvirt,siboulet/libvirt-openvz,rmarwaha/libvirt,iam-TJ/libvirt,leilihh/libvirt,soulxu/libvirt-xuhj,wiedi/libvirt,agx/libvirt,libvirt/libvirt,fabianfreyer/libvirt,emaste/libvirt,jfehlig/libvirt,andreabolognani/libvirt,usc-isi/libvirt,zhlcindy/libvirt-1.1.4-maintain,zippy2/libvirt,zippy2/libvirt,taget/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,rmarwaha/libvirt1,cbosdo/libvirt,emaste/libvirt,andreabolognani/libvirt,usc-isi/libvirt,novel/fbsd-libvirt,zippy2/libvirt,jardasgit/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt,taget/libvirt,emaste/libvirt,foomango/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,zippy2/libvirt,shugaoye/libvirt,rlaager/libvirt,emaste/libvirt,olafhering/libvirt,libvirt/libvirt,siboulet/libvirt-openvz,warewolf/libvirt,foomango/libvirt,dumbbell/libvirt,eskultety/libvirt,foomango/libvirt,elmarco/libvirt,bjzhang/libvirt,rmarwaha/libvirt1,jeckersb/libvirt,trainstack/libvirt,jardasgit/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,olafhering/libvirt,novel/fbsd-libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,wiedi/libvirt,danwent/libvirt-ovs,soulxu/libvirt-xuhj,elmarco/libvirt,andreabolognani/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,kantai/libvirt-vfork,trainstack/libvirt,jfehlig/libvirt,eskultety/libvirt,jeckersb/libvirt,rmarwaha/libvirt1,shugaoye/libvirt,datto/libvirt,VenkatDatta/libvirt,leilihh/libvirt,zhlcindy/libvirt-1.1.4-maintain,siboulet/libvirt-openvz,novel/fbsd-libvirt,jardasgit/libvirt,dumbbell/libvirt,siboulet/libvirt-openvz,fabianfreyer/libvirt,VenkatDatta/libvirt,rmarwaha/libvirt,warewolf/libvirt,fabianfreyer/libvirt,jeckersb/libvirt,elmarco/libvirt,emaste/libvirt,soulxu/libvirt-xuhj,wiedi/libvirt,novel/fbsd-libvirt,taget/libvirt,trainstack/libvirt,soulxu/libvirt-xuhj,olafhering/libvirt,iam-TJ/libvirt,kantai/libvirt-vfork,iam-TJ/libvirt,nertpinx/libvirt,olafhering/libvirt,leilihh/libvirt,warewolf/libvirt,nertpinx/libvirt,novel/fbsd-libvirt,eskultety/libvirt,rlaager/libvirt,foomango/libvirt,bjzhang/libvirt,wiedi/libvirt,wiedi/libvirt,andreabolognani/libvirt,rmarwaha/libvirt1,rlaager/libvirt,datto/libvirt,shugaoye/libvirt,trainstack/libvirt,novel/fbsd-libvirt,trainstack/libvirt,iam-TJ/libvirt