trivial cleanups

This commit is contained in:
Guido Günther 2009-01-06 17:20:27 +00:00
parent 4015331b73
commit ffafc252dd
4 changed files with 15 additions and 5 deletions

View File

@ -20,7 +20,7 @@ The primary maintainers and people with commit access rights:
Dave Leskovec <dlesko@linux.vnet.ibm.com>
Cole Robinson <crobinso@redhat.com>
Dan Smith <danms@us.ibm.com>
Guido Guenther <agx@sigxcpu.org>
Guido Günther <agx@sigxcpu.org>
John Levon <john.levon@sun.com>
Patches have also been contributed by:
@ -64,3 +64,6 @@ Patches have also been contributed by:
The libvirt Logo was designed by Diana Fong
-- End
;; Local Variables:
;; coding: utf-8
;; End:

View File

@ -1,3 +1,12 @@
Tue Jan 6 18:14:31 CET 2009 Guido Günther <agx@sigxcpu.org>
trivial cleanups
* src/qemu_driver.c (qemudGetMaxVCPUs): we have kvmGetMaxVCPUs(), so
the comment can go
* src/qemu_driver.c (qemudDomainDetachDevice): fix error message
* AUTHORS: fix spelling and suggest UTF-8 encoding
* docs/apps.html.in: minor typo
Tue Jan 6 18:12:38 CET 2009 Guido Günther <agx@sigxcpu.org>
* .gitignore: ignore generated TAGS files

View File

@ -107,7 +107,7 @@
<dl>
<dt><a href="http://honk.sigxcpu.org/projects/libvirt/#munin">for munin</a></dt>
<dd>
The plugins provided by Guido Günther allows to monitor various things
The plugins provided by Guido Günther allow to monitor various things
like network and block I/O with
<a href="http://munin.projects.linpro.no/">Munin</a>.
</dd>

View File

@ -1416,8 +1416,6 @@ static int qemudGetMaxVCPUs(virConnectPtr conn, const char *type) {
if (STRCASEEQ(type, "qemu"))
return 16;
/* XXX future KVM will support SMP. Need to probe
kernel to figure out KVM module version i guess */
if (STRCASEEQ(type, "kvm"))
return kvmGetMaxVCPUs();
@ -3366,7 +3364,7 @@ static int qemudDomainDetachDevice(virDomainPtr dom,
if (!virDomainIsActive(vm)) {
qemuDriverUnlock(driver);
qemudReportError(dom->conn, dom, NULL, VIR_ERR_INTERNAL_ERROR,
"%s", _("cannot attach device on inactive domain"));
"%s", _("cannot detach device on inactive domain"));
goto cleanup;
}