blob: 7bb6c72452b80f4b922c34b21d34d9553e5c1c64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
semantic: 0.583
mistranslation: 0.566
device: 0.455
graphic: 0.370
other: 0.323
socket: 0.196
network: 0.109
instruction: 0.107
vnc: 0.091
boot: 0.066
KVM: 0.062
assembly: 0.056
serial/parallel character devices created for the none-machine
The none-machine can not be started unless using "-serial null":
qemu-system-x86_64 -machine none -nographic -monitor stdio
QEMU 3.1.1 monitor - type 'help' for more information
(qemu) qemu-system-x86_64: cannot use stdio by multiple character devices
qemu-system-x86_64: could not connect serial device to character backend 'stdio'
$
$ qemu-system-mips -machine none -nographic -serial null -monitor stdio
QEMU 4.1.50 monitor - type 'help' for more information
(qemu) info chardev
parallel0: filename=null
compat_monitor0: filename=stdio
serial0: filename=null
(qemu)
You can start 'none' without "-serial null". Examples:
qemu-system-x86_64 -machine none
qemu-system-x86_64 -machine none -monitor stdio
qemu-system-x86_64 -machine none -nographic
qemu-system-x86_64 -machine none -monitor stdio -display none
Your command line "qemu-system-x86_64 -machine none -nographic -monitor stdio" fails because "-nographic" says "please create a serial port using stdio" but "-monitor stdio" tries to use stdio for something else. You get the same message for any machine (eg "pc"), not just "none". If what you wanted was "just don't create the graphical display" that's "-display none" -- "-nographic" is a collection of things including both 'no display' and also 'default to creating a serial device to stdio' and 'default to creating a monitor muxed with that serial'.
|