Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339236 - app-emulation/libvirt-0.8.4 needs CONFIG_HOTPLUG_CPU=y
Summary: app-emulation/libvirt-0.8.4 needs CONFIG_HOTPLUG_CPU=y
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 10:32 UTC by Gen2
Modified: 2011-02-04 14:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gen2 2010-09-30 10:32:30 UTC
Today as i tried to re-activate my kvm/libvirt/virt-manager-setup after a few months of inactivity i remarked that something was wrong. First and foremost that virt-manager wasn't able to display my locally installed vms. After further investigation i found this in various logfiles:

cannot open /sys/devices/system/cpu/cpu1/online: No such file or directory

Some internet research revealed that CONFIG_HOTPLUG_CPU=y needs to be enabled in kernel if one needs the above file. After i've enabled this additional setting, recompiled and installed the new kernel and rebooted the machine i was able to work with kvm,libvirt and virt-manager as expected again.

I think the ebuild should check if the above mentioned option is set in the  kernel-configuration and abort the installation if it's not.

Reproducible: Always

Steps to Reproduce:
1. set CONFIG_HOTPLUG_CPU=n
2. recompile and install new kernel
3. reboot
4. /etc/init.d/libvirtd start

Actual Results:  
got the error message mentioned in the Description above and was thus unable to work with my vms

Expected Results:  
As installation was successfully i expected things to "just work" but instead i encountered the error message mentioned in the description.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2011-02-02 21:44:27 UTC
Can you confirm this with newer versions? It shouldn't be fatal any longer.
Comment 2 Gen2 2011-02-04 14:18:37 UTC
I just checked this again and at least with app-emulation/libvirt-0.8.7 the issue seems to be gone...