• D
    Convert character devices over to use -device · 7b2f8cdd
    Daniel P. Berrange 提交于
    The current character device syntax uses either
    
      -serial tty,path=/dev/ttyS2
    
    Or
    
      -chardev tty,id=serial0,path=/dev/ttyS2 -serial chardev:serial0
    
    With the new -device support, we now prefer
    
      -chardev file,id=serial0,path=/tmp/serial.log -device isa-serial,chardev=serial0
    
    This patch changes the existing -chardev syntax to use this new
    scheme, and fallbacks to the old plain -serial syntax for old
    QEMU.
    
    The monitor device changes to
    
      -chardev socket,id=monitor,path=/tmp/test-monitor,server,nowait -mon chardev=monitor
    
    In addition, this patch adds --nodefaults, which kills off the
    default serial, parallel, vga and nic devices. THis avoids the
    need for us to explicitly turn each off
    7b2f8cdd
qemuxml2argv-serial-many-chardev.args 407 字节