Description of problem: Able to run virtual machines from same image after live migration Version-Release number of selected component (if applicable): RHEL 5.4 How reproducible: Often Steps to Reproduce: 1. Install KVM on host "labrador" and host "sspc-2" 2. Configure eth0 as bridge and remove the default network on both stands 3. Install a virtual machine "RHEL54" on labrador (step 1) 4. On "labrador" migrate "RHEL54" to "sspc-2" (step 2) 5. After the migration try to start "RHEL54" on "labrador" (step 3) 6. "RHEL54" are running on both stands synchronously (step 4) Actual results: Able to run virtual machines from same image after live migration Expected results: One image should be only for one virtual machine at same time Additional info:
Created attachment 363101 [details] screenshot
This belongs to the management layer. Reassigning to virt-manager, that is the UI appearing on the screenshots, but maybe it belongs to libvirt.
What you want is some kind of 'locking' of the disk image file: just denying the operation based on a similar path wouldn't be sufficient. This would need to be done at the libvirt level and has been requested there before, so reassigning to libvirt.
This functionality is being actively worked on upstream, but it will not be included in RHEL5.