Re: vcpupin and kvm | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Wed, Apr 04, 2012 at 10:37:34AM +0200, Geoff Galitz wrote: > > > Hi. > > Can anyone confirm if vcpupin works correctly with kvm? If set I > pin a vcpu it shows up correctly via vcpuinfo, but querying via > taskset shows the cpu is not pinned. Are you sure you're looking at the right PID with taskset ? In KVM you have a main thread leader, with each VCPU as a separate thread. When you pin a VCPU, only the corresponding VCPU thread is pinned. The main KVM thread leader remains unpinned. So if you query with taskset, make sure you look at the VCPU PID, and not the main KVM thread leader PID Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
[Virt Tools] [Lib OS Info] [Fedora Users] [Fedora Maintainers] [Fedora Desktop] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]