     <smartcard mode="host">
       <address type="ccid" controller="0" slot="0"/>
     </smartcard>
-    <serial type="null">
+    <serial type="pty">
       <target port="0"/>
     </serial>
     <parallel type="file">

Domain 'test-for-virtxml' defined successfully.
Changes will take effect after the domain is fully powered off.