Lines Matching refs:pszCtl

87     const char *pszCtl  = NULL;
127 pszCtl = ValueUnion.psz;
316 if (!pszCtl)
343 rc = machine->GetStorageControllerByName(Bstr(pszCtl).raw(),
346 throw Utf8StrFmt("Could not find a controller named '%s'\n", pszCtl);
392 CHECK_ERROR(machine, DetachDevice(Bstr(pszCtl).raw(), port, device));
400 rc = machine->GetMediumAttachment(Bstr(pszCtl).raw(), port, device,
410 CHECK_ERROR(machine, UnmountMedium(Bstr(pszCtl).raw(),
422 CHECK_ERROR(machine, AttachDeviceWithoutMedium(Bstr(pszCtl).raw(), port, device,
432 "at the port: %u, device: %u", pszCtl, port, device);
451 throw Utf8StrFmt("The attachment is not supported by the storage controller '%s'", pszCtl);
459 machine->DetachDevice(Bstr(pszCtl).raw(), port, device);
460 CHECK_ERROR(machine, AttachDeviceWithoutMedium(Bstr(pszCtl).raw(), port, device,
488 rc = machine->GetMediumAttachment(Bstr(pszCtl).raw(), port,
546 throw Utf8StrFmt("The given attachment is not supported by the storage controller '%s'", pszCtl);
662 rc = machine->GetMediumAttachment(Bstr(pszCtl).raw(), port,
712 rc = machine->GetMediumAttachment(Bstr(pszCtl).raw(),
722 machine->DetachDevice(Bstr(pszCtl).raw(), port, device);
723 rc = machine->AttachDeviceWithoutMedium(Bstr(pszCtl).raw(),
731 rc = machine->AttachDeviceWithoutMedium(Bstr(pszCtl).raw(),
740 CHECK_ERROR(machine, MountMedium(Bstr(pszCtl).raw(),
752 machine->DetachDevice(Bstr(pszCtl).raw(), port, device);
753 CHECK_ERROR(machine, AttachDevice(Bstr(pszCtl).raw(),
768 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
775 CHECK_ERROR(machine, PassthroughDevice(Bstr(pszCtl).raw(),
780 CHECK_ERROR(machine, PassthroughDevice(Bstr(pszCtl).raw(),
787 throw Utf8StrFmt("Couldn't find the controller attachment for the controller '%s'\n", pszCtl);
794 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
801 CHECK_ERROR(machine, TemporaryEjectDevice(Bstr(pszCtl).raw(),
806 CHECK_ERROR(machine, TemporaryEjectDevice(Bstr(pszCtl).raw(),
813 throw Utf8StrFmt("Couldn't find the controller attachment for the controller '%s'\n", pszCtl);
820 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
827 CHECK_ERROR(machine, NonRotationalDevice(Bstr(pszCtl).raw(),
832 CHECK_ERROR(machine, NonRotationalDevice(Bstr(pszCtl).raw(),
839 throw Utf8StrFmt("Couldn't find the controller attachment for the controller '%s'\n", pszCtl);
846 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
853 CHECK_ERROR(machine, SetAutoDiscardForDevice(Bstr(pszCtl).raw(),
858 CHECK_ERROR(machine, SetAutoDiscardForDevice(Bstr(pszCtl).raw(),
865 throw Utf8StrFmt("Couldn't find the controller attachment for the controller '%s'\n", pszCtl);
872 CHECK_ERROR(machine, GetMediumAttachment(Bstr(pszCtl).raw(), port,
879 CHECK_ERROR(machine, SetHotPluggableForDevice(Bstr(pszCtl).raw(),
884 CHECK_ERROR(machine, SetHotPluggableForDevice(Bstr(pszCtl).raw(),
891 throw Utf8StrFmt("Couldn't find the controller attachment for the controller '%s'\n", pszCtl);
902 CHECK_ERROR(machine, SetNoBandwidthGroupForDevice(Bstr(pszCtl).raw(),
917 CHECK_ERROR(machine, SetBandwidthGroupForDevice(Bstr(pszCtl).raw(),
957 const char *pszCtl = NULL;
984 pszCtl = ValueUnion.psz;
1054 if (!pszCtl)
1064 CHECK_ERROR(machine, RemoveStorageController(Bstr(pszCtl).raw()));
1074 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1080 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1086 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1092 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1098 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1104 CHECK_ERROR(machine, AddStorageController(Bstr(pszCtl).raw(),
1120 CHECK_ERROR(machine, GetStorageControllerByName(Bstr(pszCtl).raw(),
1169 errorArgument("Couldn't find the controller with the name: '%s'\n", pszCtl);
1179 CHECK_ERROR(machine, GetStorageControllerByName(Bstr(pszCtl).raw(),
1188 errorArgument("Couldn't find the controller with the name: '%s'\n", pszCtl);
1198 CHECK_ERROR(machine, GetStorageControllerByName(Bstr(pszCtl).raw(),
1219 errorArgument("Couldn't find the controller with the name: '%s'\n", pszCtl);
1231 CHECK_ERROR(machine, SetStorageControllerBootable(Bstr(pszCtl).raw(), TRUE));
1235 CHECK_ERROR(machine, SetStorageControllerBootable(Bstr(pszCtl).raw(), FALSE));
1245 errorArgument("Couldn't find the controller with the name: '%s'\n", pszCtl);