提交 67a407e0 编写于 作者: O Osier Yang

src/libxl: Remove the whitespace before ';'

上级 5f48ddaf
...@@ -244,7 +244,7 @@ libxlMakeCapabilitiesInternal(virArch hostarch, ...@@ -244,7 +244,7 @@ libxlMakeCapabilitiesInternal(virArch hostarch,
} }
/* Search for existing matching (model,hvm) tuple */ /* 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) && if ((guest_archs[i].arch == arch) &&
guest_archs[i].hvm == hvm) { guest_archs[i].hvm == hvm) {
break; break;
...@@ -377,7 +377,7 @@ libxlMakeDomBuildInfo(virDomainDefPtr def, libxl_domain_config *d_config) ...@@ -377,7 +377,7 @@ libxlMakeDomBuildInfo(virDomainDefPtr def, libxl_domain_config *d_config)
libxl_defbool_set(&b_info->u.hvm.hpet, 1); 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]) { switch (def->os.bootDevs[i]) {
case VIR_DOMAIN_BOOT_FLOPPY: case VIR_DOMAIN_BOOT_FLOPPY:
bootorder[i] = 'a'; bootorder[i] = 'a';
......
...@@ -3213,7 +3213,7 @@ libxlDomainChangeEjectableMedia(libxlDomainObjPrivatePtr priv, ...@@ -3213,7 +3213,7 @@ libxlDomainChangeEjectableMedia(libxlDomainObjPrivatePtr priv,
int i; int i;
int ret = -1; 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 && if (vm->def->disks[i]->bus == disk->bus &&
STREQ(vm->def->disks[i]->dst, disk->dst)) { STREQ(vm->def->disks[i]->dst, disk->dst)) {
origdisk = vm->def->disks[i]; origdisk = vm->def->disks[i];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册