vmx: Some whitespace cleanup

This commit is contained in:
Matthias Bolte 2015-09-01 16:52:02 +02:00
parent 62c6778495
commit 1d204cf196

View File

@ -2,7 +2,7 @@
* vmx.c: VMware VMX parsing/formatting functions * vmx.c: VMware VMX parsing/formatting functions
* *
* Copyright (C) 2010-2014 Red Hat, Inc. * Copyright (C) 2010-2014 Red Hat, Inc.
* Copyright (C) 2009-2010 Matthias Bolte <matthias.bolte@googlemail.com> * Copyright (C) 2009-2011, 2014-2015 Matthias Bolte <matthias.bolte@googlemail.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -2545,8 +2545,8 @@ virVMXParseEthernet(virConfPtr conf, int controller, virDomainNetDefPtr *def)
STRCASENEQ(virtualDev, "e1000e")) { STRCASENEQ(virtualDev, "e1000e")) {
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR,
_("Expecting VMX entry '%s' to be 'vlance' or 'vmxnet' or " _("Expecting VMX entry '%s' to be 'vlance' or 'vmxnet' or "
"'vmxnet3' or 'e1000e' or 'e1000e' but found '%s'"), virtualDev_name, "'vmxnet3' or 'e1000e' or 'e1000e' but found '%s'"),
virtualDev); virtualDev_name, virtualDev);
goto cleanup; goto cleanup;
} }
@ -3491,6 +3491,7 @@ virVMXFormatDisk(virVMXContext *ctx, virDomainDiskDefPtr def,
virBufferAsprintf(buffer, virBufferAsprintf(buffer,
"%s%d:%d.mode = \"independent-nonpersistent\"\n", "%s%d:%d.mode = \"independent-nonpersistent\"\n",
busType, controllerOrBus, unit); busType, controllerOrBus, unit);
return 0; return 0;
} }