'virsh start' succeeds even if a nonexistent serial type is specified in an xml file

Solution Verified - Updated -

Issue

  • "virsh start" succeeds even if a nonexistent serial type (e.g. 'xyz') is specified in an xml file.
  • Step to Reproduce:
    1. Specify a nonexistent value to a serial type in a guest domain file.
        # virsh edit <domain-name>.
        ...
         <serial type='xyz'>
        ...
    
    2. Start the guest domain.
        # virsh start <domain-name>.
     <The guest domain will start up without any problems.>
    

Environment

  • Red Hat Enterprise Linux 6
  • libvirt-client-0.8.1-27.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content