Bug 694397 - passthrough a pci ,the VM can't start
Summary: passthrough a pci ,the VM can't start
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 08:37 UTC by koka xiong
Modified: 2011-04-07 09:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-07 09:08:34 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description koka xiong 2011-04-07 08:37:12 UTC
Description of problem:
passthrough a pci device,the VM can't start 

Version-Release number of selected component (if applicable):
libvirt-0.8.2-18.el5
kvm-83-229.el5
kernel-2.6.18-252.el5

How reproducible:
always

Steps to Reproduce:
1.virsh edit a guest
  <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
    </hostdev>
2.Start the VM. 
3.The VM can't be started
error: Failed to start domain cdrom_test
error: Timed out during operation: cannot acquire state change lock

Actual results:


Expected results:


Additional info:
tail -f /var/log/messages

Apr  7 04:18:06 localhost libvirtd: 04:18:06.005: error : qemuDomainObjBeginJobWithDriver:409 : Timed out during operation: cannot acquire state change lock

Comment 1 koka xiong 2011-04-07 09:08:34 UTC
After I restart libvirtd,it can work well now.
If I meet the same problem later,I will reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.