devicedisk: Improve error message when max IDE devs exceeded (bz 1466238)
https://bugzilla.redhat.com/show_bug.cgi?id=1466238
This commit is contained in:
parent
f41844f3f2
commit
c46218af3c
|
@ -1032,7 +1032,7 @@ class VirtualDisk(VirtualDevice):
|
|||
raise ValueError(_("Controller number %d for disk of type %s has "
|
||||
"no empty slot to use" % (pref_ctrl, prefix)))
|
||||
else:
|
||||
raise ValueError(_("Only %s disks of type '%s' are supported"
|
||||
% (maxnode, prefix)))
|
||||
raise ValueError(_("Only %s disks for bus '%s' are supported"
|
||||
% (maxnode, self.bus)))
|
||||
|
||||
VirtualDisk.register_type()
|
||||
|
|
Loading…
Reference in New Issue