mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00: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);
|
pret = PrlVmDev_SetEmulatedType(sdkdisk, emutype);
|
||||||
prlsdkCheckRetGoto(pret, cleanup);
|
prlsdkCheckRetGoto(pret, cleanup);
|
||||||
|
|
||||||
if (disk->src->path) {
|
pret = PrlVmDev_SetSysName(sdkdisk, path);
|
||||||
pret = PrlVmDev_SetSysName(sdkdisk, path);
|
prlsdkCheckRetGoto(pret, cleanup);
|
||||||
prlsdkCheckRetGoto(pret, cleanup);
|
|
||||||
|
|
||||||
pret = PrlVmDev_SetFriendlyName(sdkdisk, path);
|
pret = PrlVmDev_SetFriendlyName(sdkdisk, path);
|
||||||
prlsdkCheckRetGoto(pret, cleanup);
|
prlsdkCheckRetGoto(pret, cleanup);
|
||||||
}
|
|
||||||
|
|
||||||
drive = &disk->info.addr.drive;
|
drive = &disk->info.addr.drive;
|
||||||
if (drive->controller > 0) {
|
if (drive->controller > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user