mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
maint: remove whitespace from closing parentheses
To allow tightening syntax check.
This commit is contained in:
parent
ca773b2fe2
commit
b9df355592
@ -4178,8 +4178,7 @@ qemuBuildVideoCommandLine(virCommandPtr cmd,
|
|||||||
(primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_QXL &&
|
(primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_QXL &&
|
||||||
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA)) ||
|
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA)) ||
|
||||||
(primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_VIRTIO &&
|
(primaryVideoType == VIR_DOMAIN_VIDEO_TYPE_VIRTIO &&
|
||||||
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_VIRTIO_GPU)))
|
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_VIRTIO_GPU)))) {
|
||||||
) {
|
|
||||||
for (i = 0; i < def->nvideos; i++) {
|
for (i = 0; i < def->nvideos; i++) {
|
||||||
char *str;
|
char *str;
|
||||||
virCommandAddArg(cmd, "-device");
|
virCommandAddArg(cmd, "-device");
|
||||||
|
@ -321,8 +321,7 @@ vzDriverObjNew(void)
|
|||||||
!(driver->domainEventState = virObjectEventStateNew()) ||
|
!(driver->domainEventState = virObjectEventStateNew()) ||
|
||||||
(vzInitVersion(driver) < 0) ||
|
(vzInitVersion(driver) < 0) ||
|
||||||
(prlsdkConnect(driver) < 0) ||
|
(prlsdkConnect(driver) < 0) ||
|
||||||
(prlsdkSubscribeToPCSEvents(driver) < 0)
|
(prlsdkSubscribeToPCSEvents(driver) < 0)) {
|
||||||
) {
|
|
||||||
virObjectUnref(driver);
|
virObjectUnref(driver);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -2266,8 +2266,7 @@ prlsdkCheckUnsupportedParams(PRL_HANDLE sdkdom, virDomainDefPtr def)
|
|||||||
!((def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE &&
|
!((def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE &&
|
||||||
def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_KBD) ||
|
def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_KBD) ||
|
||||||
(def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_KBD &&
|
(def->inputs[0]->type == VIR_DOMAIN_INPUT_TYPE_KBD &&
|
||||||
def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE))
|
def->inputs[1]->type == VIR_DOMAIN_INPUT_TYPE_MOUSE))) {
|
||||||
) {
|
|
||||||
|
|
||||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||||
_("unsupported input device configuration"));
|
_("unsupported input device configuration"));
|
||||||
|
Loading…
Reference in New Issue
Block a user