<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris Lalancette wrote:
<blockquote cite="mid4A1B90FC.7050901@redhat.com" type="cite">
<pre wrap="">Gerry Reno wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Gerry Reno wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Gerry Reno wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Daniel P. Berrange wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Sat, May 23, 2009 at 03:43:12PM -0400, Gerry Reno wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I upgraded the host from F10 to F11 (x86_64) with no issues. Now when I
start a F10 (i386) guest it runs very very slow. I also see messages on
the guest boot console about "clocksource tsc unstable" and some kernel
oops. Once it got far enough to start network I logged in and checked
the clocksource and it currently is 'acpi_pm' even though the kernel
line says clocksource=pit. The available clocksources are acpi_pm,
jiffies, and tsc. I do not see 'pit' in the list. How do I fix this issue?
</pre>
</blockquote>
<pre wrap="">If the guest runs 'extrememly' slowly then the most like thing is that
it has fallen back to using QEMU emulation, instead of KVM hardware
acceleration. Check the /var/log/libvirt/qemu/$GUEST.log to see if there
is any mesage about not being able to open /dev/kvm. Also make sure that
KVM modules are loaded, and that 'virsh capabilities' lists KVM as a valid
domain.
Daniel
</pre>
</blockquote>
<pre wrap="">Ok, I checked the guest log and it says:
/dev/kvm: no such file or directory.
So how do I make this node? Shouldn't libvirt have made it for us?
</pre>
</blockquote>
<pre wrap="">Ok, once I got both kernel modules loaded, it created the /dev/kvm
device and now everything runs fine.
</pre>
</blockquote>
<pre wrap="">Well, not quite so fine. If I reboot the machine then the kvm modules
are no longer loaded. How do I keep these modules loaded?
</pre>
</blockquote>
<pre wrap=""><!---->
I'm assuming that you haven't installed qemu from the F-11 packages. If you
install the qemu-system-x86 on F-11, it comes with a file
/etc/sysconfig/modules/kvm.modules. On bootup, any scripts in that directory
are executed, and that command automatically loads the appropriate modules for
you. If you don't want to install the F-11 qemu-system-x86 package for some
reason, you'll have to arrange to do the same with a custom script in that
directory, or just in /etc/rc.d/rc.local.
</pre>
</blockquote>
<tt>Thanks Chris. I found an update to the 'qemu' package and ran 'yum
update qemu'. After the update then this file:
/etc/sysconfig/modules/kvm.modules was added. Now the kvm modules
stay loaded across reboots. I wonder why the F11 upgrade didn't bring
in this package? Maybe it's not on the DVD.<br>
<br>
Regards,<br>
Gerry<br>
<br>
</tt>
</body>
</html>