<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Guido,<br>
<br>
And thanks for that quick feedback. From what you wrote and the post
you linked Yesterday I understand that's not a bug, or at least not
a Debian bug, but something which requires (as of now) more
configuration than a simple "setvcpus" while the guest is running.<br>
<br>
I gave a try to your suggestion (that is: reboot the guest) and the
situation didn't change : vcpuinfo or vcpucount still gives me back
1 vcpu, while the guest sees (and uses) 2 vcpus.<br>
<br>
I think it's related to the fact that the definition file wasn't
(automatically) changed, even with that "setvcpus <domain> 1"
command. It's still <br>
<br>
"<vcpu placement='static'>2</vcpu>"<br>
<br>
and there is no "current" flag as stated in the post you linked (<big><big><font
color="#330033"><span style="background-color: transparent;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; text-decoration: none; vertical-align:
baseline; white-space: pre-wrap;"><vcpu
placement='static' current='1'>2</vcpu></span></font></big></big>)<br>
<br>
Unless I'm mistaken, that means that the only way to modify the
number of cpus a guest can run on is to shutdown the guest, modify
the definition file and switch it on back.<br>
<br>
Regards,<br>
<br>
Loïc<br>
<br>
<div class="moz-cite-prefix">Le 19/03/2014 20:17, Guido Günther a
écrit :<br>
</div>
<blockquote cite="mid:20140319191747.GC3683@bogon.m.sigxcpu.org"
type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">While on the guest side a cat /proc/cpuinfo still gives back two cpu available.
</pre>
</blockquote>
<pre wrap="">
This needs support from qemu and (at least last time I checked) a
running guest agent. This isn't available in wheezy so you should see
the updated CPUs after reboot only. See. e.g.:
<a class="moz-txt-link-freetext" href="http://lost-and-found-narihiro.blogspot.ch/2013/10/fedora-19-kvm-cpu-hotplug-with-qemu.html">http://lost-and-found-narihiro.blogspot.ch/2013/10/fedora-19-kvm-cpu-hotplug-with-qemu.html</a>
So libvirt tries to cope with it.
Cheers,
-- Guido
</pre>
</blockquote>
<br>
</body>
</html>