Bug 460649
Summary: | libvirtd requires restart in order to detect new capabilities like KVM support | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Perry Myers <pmyers> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | berrange, clalance, crobinso, itamar, markmc, thoger, ToddAndMargo, veillard, virt-maint, waf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-06 21:37:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 480594 |
Description
Perry Myers
2008-08-29 13:43:06 UTC
Just a note, libvirtd reload does not refresh qemu/kvm capabilities as well: # modprobe -r kvm-intel # /etc/init.d/libvirtd start Starting libvirtd daemon: [ OK ] # virsh capabilities | grep kvm # modprobe kvm-intel # lsmod | grep kvm kvm_intel 49953 0 kvm 131889 1 kvm_intel # virsh capabilities | grep kvm # /etc/init.d/libvirtd reload Reloading libvirtd configuration: [ OK ] # virsh capabilities | grep kvm # /etc/init.d/libvirtd restart Stopping libvirtd daemon: [ OK ] Starting libvirtd daemon: [ OK ] # virsh capabilities | grep kvm <domain type='kvm'> <emulator>/usr/bin/qemu-kvm</emulator> The forthcoming 0.6.0 release will allow for a full restart of the libvirtd daemon without killing active guests. We do still need to make it re-probe on the reload operation though. *** Bug 482876 has been marked as a duplicate of this bug. *** (In reply to comment #2) > We do still need to make it re-probe on the reload operation though. I don't think re-probe on reload enough - it's not something we can expect anyone to think of doing really. e.g. if you went to "Add/Remove Software", installed kvm and ran virt-manager, you'd never have any reason to think of restarting libvirtd Two semi-evil options - kvm's %post could conditionally do 'service libvirtd reload' - libvirt RPM could have %trigger kvm and do the same Or just re-probe when capabilities are queried? If the concern is that capabilities might be queried often, we could rate-limit the re-probes with e.g. "re-probe at most every 5 seconds" Cole has posted a patch for this to libvir-list: http://www.redhat.com/archives/libvir-list/2009-April/msg00533.html Cole - this bug is on the F11 target tracker. It'd be great to get your patch into F-11/F-12 libvirt once its committed upstream Updated patch posted: https://www.redhat.com/archives/libvir-list/2009-May/msg00035.html I agree it would be nice to have this for F11: I think it's pretty low risk for the usability gain. Just needs to be ACK'd upstream. Upstream now: http://git.et.redhat.com/?p=libvirt.git;a=commit;h=66b9412493fee500c8678df514b518c2baf5160c Being built into libvirt-0.6.2-6.fc11 atm. Tag request: https://fedorahosted.org/rel-eng/ticket/1748 * Wed May 6 2009 Cole Robinson <crobinso> - 0.6.2-6.fc11 - Refresh qemu caps when getCapabilities is called (bug #460649) Tagged now |