Re: [libvirt-users] setvcpus --guest on windows

Thomas Stein
2014-11-05T09:50:59Z

Am 04.11.14 17:55, schrieb Thomas Stein:
> Hello.
>
> Just a quick question. Is "setvcpus $windowsVM --guest 4"
supposed to
> work? I have qemu-guest-agent (1.6.something) running inside a windows7
> vm but all i get is:
>
> virsh # setvcpus windows7 --guest 4
> error: invalid argument: requested vcpu count is greater than the count
> of enabled vcpus in the domain: 4 > 1
>
> The xml file looks like this:
>
> <vcpu placement='static' current='1'>4</vcpu>

Another question regarding qemu-guest-agent. What if i have more then
one VM running on a host? Is the configuration for any of them the same
or do i have to adjust some settings?

    <channel type='unix'>
      <source mode='bind'
path='/var/lib/libvirt/qemu/f16x86_64.agent'/>
      <target type='virtio'
name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0'
bus='0' port='1'/>
    </channel>

I mean, do i have to use a different port or something for each VM?

thanks
t.