mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 11:15:08 +00:00
Remove use of strcmp()
This commit is contained in:
parent
25f860dc2f
commit
65c2738ea1
@ -1,3 +1,7 @@
|
|||||||
|
Thu May 15 16:06:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/qemu_conf.c: Remove use of strcmp()
|
||||||
|
|
||||||
Thu May 15 12:21:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
Thu May 15 12:21:08 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/qemu_conf.c: Fix default disk bus selection logic
|
* src/qemu_conf.c: Fix default disk bus selection logic
|
||||||
|
@ -1436,7 +1436,7 @@ static int qemudParseInputXML(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!strcmp(vm->os.type, "hvm")) {
|
if (STREQ(vm->os.type, "hvm")) {
|
||||||
if (input->type == QEMU_INPUT_TYPE_MOUSE)
|
if (input->type == QEMU_INPUT_TYPE_MOUSE)
|
||||||
input->bus = QEMU_INPUT_BUS_PS2;
|
input->bus = QEMU_INPUT_BUS_PS2;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user