mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
src/libxl: Remove the whitespace before ';'
This commit is contained in:
parent
5f48ddafbe
commit
67a407e08b
@ -244,7 +244,7 @@ libxlMakeCapabilitiesInternal(virArch hostarch,
|
||||
}
|
||||
|
||||
/* Search for existing matching (model,hvm) tuple */
|
||||
for (i = 0 ; i < nr_guest_archs ; i++) {
|
||||
for (i = 0; i < nr_guest_archs; i++) {
|
||||
if ((guest_archs[i].arch == arch) &&
|
||||
guest_archs[i].hvm == hvm) {
|
||||
break;
|
||||
@ -377,7 +377,7 @@ libxlMakeDomBuildInfo(virDomainDefPtr def, libxl_domain_config *d_config)
|
||||
libxl_defbool_set(&b_info->u.hvm.hpet, 1);
|
||||
}
|
||||
}
|
||||
for (i = 0 ; i < def->os.nBootDevs ; i++) {
|
||||
for (i = 0; i < def->os.nBootDevs; i++) {
|
||||
switch (def->os.bootDevs[i]) {
|
||||
case VIR_DOMAIN_BOOT_FLOPPY:
|
||||
bootorder[i] = 'a';
|
||||
|
@ -3213,7 +3213,7 @@ libxlDomainChangeEjectableMedia(libxlDomainObjPrivatePtr priv,
|
||||
int i;
|
||||
int ret = -1;
|
||||
|
||||
for (i = 0 ; i < vm->def->ndisks ; i++) {
|
||||
for (i = 0; i < vm->def->ndisks; i++) {
|
||||
if (vm->def->disks[i]->bus == disk->bus &&
|
||||
STREQ(vm->def->disks[i]->dst, disk->dst)) {
|
||||
origdisk = vm->def->disks[i];
|
||||
|
Loading…
Reference in New Issue
Block a user