mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
Revert "vz: handle sourceless cdroms"
This reverts commit071fe092
. It was committed by a mistake and correct patch was committed earlier asbaad90fb
.
This commit is contained in:
parent
1fad65d49a
commit
9ef05d597e
@ -3216,13 +3216,11 @@ static int prlsdkAddDisk(vzDriverPtr driver,
|
||||
pret = PrlVmDev_SetEmulatedType(sdkdisk, emutype);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
|
||||
if (disk->src->path) {
|
||||
pret = PrlVmDev_SetSysName(sdkdisk, path);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
pret = PrlVmDev_SetSysName(sdkdisk, path);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
|
||||
pret = PrlVmDev_SetFriendlyName(sdkdisk, path);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
}
|
||||
pret = PrlVmDev_SetFriendlyName(sdkdisk, path);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
|
||||
drive = &disk->info.addr.drive;
|
||||
if (drive->controller > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user