Skip to content
  • Gerd Hoffmann's avatar
    Allow -serial chardev:<name> · c845f401
    Gerd Hoffmann authored
    
    
    Lets put -chardev into use now.  With this patch applied chardev:name is
    accepted as chardev specification everywhere, i.e. now you can:
    
    	-chardev stdio,id=ttyS0
    	-serial chardev:ttyS0
    
    which does the same as '-serial stdio".
    
    Muxing can be done this way:
    
    	-chardev stdio,id=mux,mux=on
    	-serial chardev:mux
    	-monitor chardev:mux
    
    You can mux more than two streams.
    
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    c845f401