• C
    Fix libvirtd restart for domains with PCI passthrough devices · cdc42d0a
    Chris Lalancette 提交于
    When libvirtd shuts down, it places a <state/> tag in the XML
    state file it writes out for guests with PCI passthrough
    devices.  For devices that are attached at bootup time, the
    state tag is empty.  However, at libvirtd startup time, it
    ignores anything with a <state/> tag in the XML, effectively
    hiding the guest.
    This patch remove the check for VIR_DOMAIN_XML_INTERNAL_STATUS
    when parsing the XML.
    * src/conf/domain_conf.c: remove VIR_DOMAIN_XML_INTERNAL_STATUS
      flag check in virDomainHostdevSubsysPciDefParseXML()
    cdc42d0a
domain_conf.c 189.5 KB