Index: virt-manager-0.10.0/virtinst/VirtualDisk.py =================================================================== --- virt-manager-0.10.0.orig/virtinst/VirtualDisk.py +++ virt-manager-0.10.0/virtinst/VirtualDisk.py @@ -1712,7 +1712,7 @@ class VirtualDisk(VirtualDevice): if maxnode > (26 * 26 * 26): raise RuntimeError("maxnode value is too high") - # Regular scanning + # Start cdrom at 'c' and skip 'c' for non-cdrom for i in range(1, maxnode + 1): gen_t = prefix @@ -1738,8 +1738,14 @@ class VirtualDisk(VirtualDevice): if gen_t in except_targets: continue if gen_t not in skip_targets: - self.target = gen_t - return self.target + if self.device != self.DEVICE_CDROM: + if i != ord('c') - ord('a'): + self.target = gen_t + return self.target + else: + if i >= ord('c') - ord('a'): + self.target = gen_t + return self.target # Check except_targets for any options for t in except_targets: