Bug 510179
Summary: | libvirt: a guest with the wrong config was defined in domain list | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Alex Jia <ajia> |
Component: | libvirt | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4 | CC: | virt-maint, xen-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-04 16:16:52 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: |
Description
Alex Jia
2009-07-08 07:10:15 UTC
guest with wrong xml config,but can be defined,if use virsh commands to start it,the result must be error,like this: [root@dhcp-66-70-18 libvirt]# virsh start RHEL5.3-Server_http.qcow2 error: Failed to start domain RHEL5.3-Server_http.qcow2 error: internal error unable to start guest: qemu: 'file=/var/lib/libvirt/images/RHEL5.3-Server_http.qcow2,if=xen,index=0,boot=on' unsupported bus type 'xen' I think that we should check the syntax of guest xml,guest with wrong config should not be defined Only checking at boot time is intentional behaviour, since that's the point at which the information we need is guarenteed available & accurate. Checking at define time would lead to us rejecting valid configs in some scenarios |