| Summary: | Fail to start guest with vhost-net on upstream | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Nan Zhang <nzhang> | ||||
| Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | unspecified | CC: | crobinso, dallan, xen-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-05-24 11:38:00 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
(In reply to comment #0) > Version-Release number of selected component (if applicable): > libvirt-0.9.1-1.el6.x86_64 (upstream) Can you recheck whether it works or not with the official rebased libvirt package from brew? (also called libvirt-0.9.1-1.el6.x86_64) (In reply to comment #1) > (In reply to comment #0) > > Version-Release number of selected component (if applicable): > > libvirt-0.9.1-1.el6.x86_64 (upstream) > > Can you recheck whether it works or not with the official rebased libvirt > package from brew? (also called libvirt-0.9.1-1.el6.x86_64) Hi Jiri, I've re-checked with official rebased libvirt package(for 6.2), it works well. |
Created attachment 499270 [details] foo.xml Description of problem: Attach the following XML to <interface> element. Then booting up the guest will get a failure. <interface> ... <driver name='vhost'/> ... </interface> Version-Release number of selected component (if applicable): libvirt-0.9.1-1.el6.x86_64 (upstream) qemu-kvm-0.12.1.2-2.161.el6.x86_64 How reproducible: always Steps to Reproduce: # lsmod | grep vhost vhost_net 29524 0 macvtap 7867 1 vhost_net tun 16953 2 vhost_net # virsh define foo.xml Domain foo defined from foo.xml # virsh start foo error: Failed to start domain foo error: unsupported configuration: vhost-net is not supported with this QEMU binary Actual results: 23:25:39.139: 15419: debug : virDomainGetID:2649 : dom=0x23d3c60, (VM: name=foo, uuid=d3782e1f-e34a-bf7c-414b-4f74d3837e96), 23:25:39.139: 15419: debug : virDomainCreate:5081 : dom=0x23d3c60, (VM: name=foo, uuid=d3782e1f-e34a-bf7c-414b-4f74d3837e96), 23:25:39.139: 15419: debug : remoteIO:5961 : Do proc=9 serial=4 length=56 wait=(nil) 23:25:39.139: 15419: debug : remoteIO:6033 : We have the buck 9 0x23d46a0 0x23d46a0 23:25:39.139: 15419: debug : virEventPollUpdateHandle:144 : Update handle w=2 e=0 23:25:39.139: 15419: debug : virEventPollInterruptLocked:686 : Skip interrupt, 0 0 23:25:39.388: 15419: debug : remoteIODecodeMessageLength:5353 : Got length, now need 240 total (236 more) 23:25:39.388: 15419: debug : remoteIOEventLoop:5887 : Giving up the buck 9 0x23d46a0 (nil) 23:25:39.388: 15419: debug : virEventPollUpdateHandle:144 : Update handle w=2 e=1 23:25:39.388: 15419: debug : virEventPollInterruptLocked:686 : Skip interrupt, 0 0 23:25:39.388: 15419: debug : remoteIO:6061 : All done with our call 9 (nil) 0x23d46a0 23:25:39.388: 15419: debug : virDomainGetName:2554 : domain=0x23d3c60 error: Failed to start domain foo 23:25:39.388: 15419: debug : virDomainFree:2114 : dom=0x23d3c60, (VM: name=foo, uuid=d3782e1f-e34a-bf7c-414b-4f74d3837e96), 23:25:39.388: 15419: debug : virUnrefDomain:276 : unref domain 0x23d3c60 foo 1 23:25:39.388: 15419: debug : virReleaseDomain:238 : release domain 0x23d3c60 foo d3782e1f-e34a-bf7c-414b-4f74d3837e96 23:25:39.388: 15419: debug : virReleaseDomain:246 : unref connection 0x23d4390 2 error: unsupported configuration: vhost-net is not supported with this QEMU binary 23:25:39.388: 15419: debug : virConnectClose:1350 : conn=0x23d4390 23:25:39.389: 15419: debug : virUnrefConnect:145 : unref connection 0x23d4390 1 23:25:39.389: 15419: debug : virReleaseConnect:94 : release connection 0x23d4390 Expected results: The guest boot up with vhost-net interface successfully. Additional info: Attched domain XML file for reference.