|
|
楼主 |
发表于 2019-9-5 10:33:17
|
显示全部楼层
<domain type='kvm' id='192'>
8 N* ?( r( _& A0 \) F+ V <name>test</name>
0 {7 {# }/ Y* i9 _% e# F0 i6 e2 t <uuid></uuid>
. g" e9 r3 }" k- e' I7 Z. o2 D <memory unit='KiB'>25165824</memory>7 c) l& H) |$ B2 w
<currentMemory unit='KiB'>25165824</currentMemory>7 E: k. o, R7 B, h8 f
<vcpu placement='static'>6</vcpu>
* j9 }" k1 w8 d, T% ^ <resource>
. R2 Z+ W F- R2 ]( D <partition>/machine</partition>
N. L W6 v9 Q( c4 Z# F- G/ g </resource>
( Z, r+ R8 P; U8 C1 L4 ` <os>4 i4 Q4 T3 Y8 o4 f; W+ w
<type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
6 R" U! Z6 L. x. a+ ~0 p <boot dev='hd'/>
! B, W! G4 b/ l </os>+ ]& C3 ~& r, q+ z
<features>$ b' L6 F; ~2 J& A
<acpi/>
( E& S( G& Z' }5 ?" m# Q <apic/>
8 t" Z( W3 O& K2 E% f# S3 g </features>2 r6 c& r) B8 B& y# V0 J
<cpu mode='custom' match='exact'>
B+ J/ L! q8 @1 b3 n <model fallback='allow'>Haswell-noTSX</model>3 [% h9 @8 |$ b$ K$ Y
</cpu>
& u" Q5 S/ T; D1 b1 ~$ Q <clock offset='utc'>- _; ?5 I5 o' C8 j# B" N
<timer name='rtc' tickpolicy='catchup'/>
% G% E6 \4 w1 \ <timer name='pit' tickpolicy='delay'/>. Z( O- x% f1 e8 `/ g) \$ U
<timer name='hpet' present='no'/>( G( f7 D0 C8 j' F+ c' B k
</clock>
( \. K/ O# {) S& h* |, f <on_poweroff>destroy</on_poweroff>4 k x; q" M- \( g4 t+ n9 n a2 `/ c
<on_reboot>restart</on_reboot>$ M) r* `. F* E" G. n
<on_crash>restart</on_crash>9 j5 Y) T$ b3 n4 @! n& O( a2 c
<pm>
$ l7 C0 b" \* ?2 `2 U <suspend-to-mem enabled='no'/>) A* n% n' ~* z
<suspend-to-disk enabled='no'/>; v" @" s% [! [+ Y7 w4 f
</pm>
; X, g/ o$ E1 \ c9 l0 p4 h/ Z% r6 I <devices>" Y1 Z7 |: N4 b
<emulator>/usr/libexec/qemu-kvm</emulator>- v/ D# ]) l8 U# U
<disk type='file' device='disk'>
9 ]- Q+ P4 H0 C" W( B9 h <driver name='qemu' type='qcow2'/>1 @% j$ `9 J1 w: y- V. I
<source file='/var/lib/libvirt/images/VSD-4.0.10_272.4.qcow2'/>
# \) Q1 T. t" [: w) d1 z <backingStore/>
4 j; E* F1 Y! |. M2 i3 O <target dev='vda' bus='virtio'/>
. Y8 d& T E/ |4 k5 G8 X" c <alias name='virtio-disk0'/>4 {1 d9 i' Q4 ?: f, ~
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> q/ }8 ^1 F1 W U- T) R! j/ U
</disk>
7 o8 ] j! R3 `2 d% P. f! C <controller type='usb' index='0' model='ich9-ehci1'>
: \( M( |" ^ k' | <alias name='usb'/>6 D/ f, c' x" Z* X( m+ R
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
1 o; f3 v( u1 `6 |# ~& U( { x </controller>
) {1 C4 s z. E f. c" A G <controller type='usb' index='0' model='ich9-uhci1'>7 r$ M5 [- L$ l
<alias name='usb'/>
; A+ h9 s+ N0 J: o' s <master startport='0'/>% T" U& U2 i$ H9 n5 U+ m M$ I
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>4 |: h7 j6 m7 d( J6 z0 W
</controller>+ ~8 ?6 w1 ^9 T5 j b ^8 [6 t1 ^, L
<controller type='usb' index='0' model='ich9-uhci2'>( q% k9 C7 J f8 Z! c
<alias name='usb'/>; d5 J) x$ Y* x8 Q1 F
<master startport='2'/>5 {4 _0 ` Y' n
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>* W$ D. r' ~& q, j T! L
</controller>" ^1 ~+ z3 y1 s& M" i, e
<controller type='usb' index='0' model='ich9-uhci3'>) M, r2 K* V9 t
<alias name='usb'/>
; x1 h% w1 C9 U; o <master startport='4'/>: V2 v, j+ r5 @% R: `" E
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
% F. m' q8 C2 U- e </controller>
+ y4 ?! m0 O6 R1 y8 J <controller type='pci' index='0' model='pci-root'>5 x6 s! h7 R! \4 m( V, d: ?
<alias name='pci.0'/>
7 i. W7 d( o+ j4 L; f/ e </controller>( }' j$ X3 x, Y" f
<controller type='virtio-serial' index='0'>
' V C/ b) a5 f4 N8 v# v% I4 X <alias name='virtio-serial0'/>8 {8 Q7 c6 i, G- }: |) l& ?( W& E
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>( g, j; U* R. h4 ]
</controller>' W0 B$ d3 ]7 c) t+ S* i; [$ Q
<interface type='bridge'>
7 O; z5 r' z4 b9 C4 ?& Q. j, w7 {* g <source bridge='br2455'/>
5 Y' {- F4 W6 n8 a1 b7 D! Y <target dev=''/>9 C# {1 f1 z1 ~ t/ p/ Q( k7 }( J- m7 w
<model type='virtio'/>" H7 s- t3 G% e" a, f
<alias name='net0'/>6 y3 h. m% X! a; z- ~
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>! C, M4 k U/ h3 m0 e! |" Y
</interface>
( H- t" b, }8 f) P- x; ?- |* F5 S <serial type='pty'>; Q1 }. U6 [1 B% Q; V$ h
<source path='/dev/pts/4'/>
, N# x0 Q. ]% d9 N. @/ v( ?# K- c <target port='0'/>9 {- \# {' M* R5 H% L0 v
<alias name='serial0'/>/ P' c$ ~; L J1 x. j+ Q8 `
</serial>
- J2 ^! f$ J" X- b0 k <console type='pty' tty='/dev/pts/4'>
. n1 k. @/ [7 e% V2 E <source path='/dev/pts/4'/>
$ l1 y* U/ {& J3 c$ l <target type='serial' port='0'/>+ B6 q3 n& m* l& { ]; t. q
<alias name='serial0'/>
& x! y8 r; m$ R( R </console>
0 E4 U+ j, Z- s9 c+ [ <channel type='unix'>
* ^- H5 J0 x6 ~+ Q* k- S <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-vsd4/org.qemu.guest_agent.0'/>
: Z& o2 f" J8 X r0 c& `. n% ] <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>% g) P9 e2 f3 M$ u
<alias name='channel0'/>7 m; `. J: l6 K7 J' ~/ o. M
<address type='virtio-serial' controller='0' bus='0' port='1'/>
: s& @# F- C& L7 J- r" {1 _: m </channel>
3 ], ?# E- t$ e7 G# E- ` <input type='tablet' bus='usb'>
( s* J' Y1 z( Y4 c w% h; i i. s <alias name='input0'/>
, Z5 Z: h6 C, n' |9 J, _+ v </input>/ v7 z; l/ g9 c9 }/ I- l
<input type='mouse' bus='ps2'/>; _" d" D% v2 r+ c) P/ ?3 l
<input type='keyboard' bus='ps2'/>& P7 R4 E$ ^( H! E6 O- q2 s
<graphics type='vnc' port='5901' autoport='yes' listen='0.0.0.0'>
( e/ \9 X" m. c8 v7 w9 ]. \ <listen type='address' address='0.0.0.0'/>
/ }( K* T. J. e9 o </graphics>/ m* @& \9 o/ K( R" V2 U9 ^9 q
<video>
6 z: A& W- H7 }8 u( V6 q+ j- r <model type='cirrus' vram='16384' heads='1'/>
3 g4 _' ^, }2 t0 r5 A <alias name='video0'/>
, @6 v- w/ K9 y <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>& L& N' i& W) O+ c. e
</video>* {2 k; K" w, c9 f/ R. p$ o
<memballoon model='virtio'>
6 P- s9 \2 A5 U; p: u" O <alias name='balloon0'/>7 B; V1 N" y4 f& P# h4 C& H: q' R3 ?
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>0 t7 w4 {5 D, U3 T5 `
</memballoon>, N/ B: r: W8 T( i# H* x1 I
</devices>$ j3 j" |/ X: L$ v; f
</domain> |
|