Edited guest xml with 'virsh edit' to add ttyS0 but ttyS0 is not added

Paras Pandey

New Member
Joined
Apr 19, 2019
Messages
2
Reaction score
0
Credits
0
I am facing the errors in /var/log/messages like :

Feb 19 20:19:42 guest-dp init: serial (ttyS0) main process (608881) terminated with status 1
Feb 19 20:19:42 guest-dp init: serial (ttyS0) main process ended, respawning

I used virsh edit <guest> , edited the file and used 'virsh define' to define the file again. Once done I rebooted the guest 'virsh reboot <guest>' .

I have edited xml file for this guest with the code:

</interface>

<serial type='pty'>

<target port='0'/>

</serial>

<console type='pty'>

<target type='serial' port='0'/>

</console>​

But after the reboot the error is still present. I need to find the solution without editing grub.conf file.
 

Members online


Top