<br><br><div class="gmail_quote">2013/1/14 Michael Beham <span dir="ltr"><<a href="mailto:beham08@gmail.com" target="_blank">beham08@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
I´m testing to start a KVM-VM with different CPU settings and I get an weird error when I use the parameter: <cpu mode='host-model'> !!<br>
I have a AMD Opteron 4280 CPU, but in the VM, proc/cpuinfo shows me, that I´m using Intel core2duo cpu model T7700 and in the flag-line of proc/cpu the system is listing the svm-flag of AMD?!?! If I use <cpu mode='host-passthrough'> I get the right CPU-model listed in the VM!<br>


<br>
Anyone an idea why I get the wrong information with host-model?<br>
<br>
BTW some further information about used versions:<br>
LibVirt version is 0.9.12<br>
qemu-kvm 1.0<br>
Kernel 3.3.2<br><br></blockquote><dt style="margin-left:1em;margin-right:2em;font-weight:bold;font-size:larger;font-family:Verdana,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255)"><code>host-model</code></dt>

<dd style="margin-left:2em;margin-right:2em;margin-bottom:0.5em;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Libvirt does not model every aspect of each CPU so the guest CPU will not match the host CPU exactly.</dd>

<dt style="margin-left:1em;margin-right:2em;font-weight:bold;font-size:larger;font-family:Verdana,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255)"><code>host-passthrough</code></dt><div><span style="background-color:rgb(255,255,255);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">     With this mode, the CPU visible to the guest should be exactly the same as the host CPU even in the aspects that libvirt does not understand. </span> </div>

<div>(from <a href="http://libvirt.org/formatdomain.html#elementsCPU">http://libvirt.org/formatdomain.html#elementsCPU</a>)</div></div><br>