|
|
楼主 |
发表于 2019-9-5 10:10:11
|
显示全部楼层
<domain type='kvm' id='131'>) d. a- z7 w2 p& T
<name>test</name>) S, s) Z: E. d' ~& b `: W
<uuid>0e91050a-8a6e-4db9-ab8e-a5ffe4215132</uuid>
- m! n$ w. y- C- z$ M3 e <description>Timos VM</description>6 Z' h' @: }3 V; R2 v
<memory unit='KiB'>8388608</memory>" B3 z! K7 B+ V& B
<currentMemory unit='KiB'>8388608</currentMemory>+ y" B& K0 D7 \( K. B- J
<memoryBacking>
2 Z% |# u/ U, C! U X: ? <hugepages/>
# N; ]* P4 K+ ?. @ r: m0 G. y$ O <nosharepages/>! K/ I( r2 ~8 |$ v
</memoryBacking>
1 K$ h3 x# @- N# e4 \ <vcpu placement='static'>2</vcpu>6 Z+ n' ]' J( H
<cputune>& n. R4 V$ w8 B# l
<vcpupin vcpu='0' cpuset='45'/>! i @3 E! ^' \6 G6 e9 f: B. a
<vcpupin vcpu='1' cpuset='44'/>
' s! @1 X0 a0 r+ Y+ J( M& j </cputune>8 n" @, _9 D3 H3 |0 Q8 o; A, T5 A( C
<numatune>* j' u. J7 \3 v" q( Q+ ?
<memory mode='preferred' nodeset='0'/>3 a* L7 P: j( h, |% ^% ]+ K9 n/ ?
</numatune>9 ?7 c/ s+ Y7 R2 u! |( e) e, ]) ] Y
<resource>
! o0 r' `9 n& A# Y# o( F. H <partition>/machine</partition>
9 h/ r" {6 `1 K& |$ y </resource>
! w4 p; A/ a1 e <sysinfo type='smbios'>
$ y8 r" d: K5 s G9 t- Q <bios>
9 Q. s6 T f! Z. C" |$ q( Q <entry name='vendor'>KVM</entry>
- h5 G+ L: P6 t2 a5 u </bios>
( C% h2 q# }+ M+ k <system>6 j) F* f+ H- y; @7 @
<entry name='manufacturer'>alcatel-lucent.com</entry>7 F+ J: C9 a- |, I. O
<entry name='product'>TIMOS:slot=A chassis=VSR-I card=cpm-v mda/1=m20-v" A" o' l, `+ a- A* p; Y Z3 P
address=192.168.0.12/24@active . x& i) h: U# W0 @# [+ u- k$ Y( H/ [
</entry>
7 d$ |! ?" a$ D' l </system>
+ a/ m }( [: L5 J; X0 P! Z$ S </sysinfo>: |6 A1 M8 N- Y1 r' ]0 e
<os>8 r5 V$ f! V8 n" U% O5 w
<type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>. `0 F; O5 O) h! z% y$ D" `0 u
<boot dev='hd'/>+ o/ D2 Y2 j. N( T0 M/ A
<smbios mode='sysinfo'/>& W* P. | i; g/ \3 b
</os>
" _* F% f% p: {7 ]7 w" } <cpu mode='host-model'>, k) Z% k% j) l2 ~5 e' }
<model fallback='allow'/>
& t( @, ?5 o' a! ^5 v! I0 w9 g </cpu>% v( v7 ]% `0 ^$ @5 W3 S# G
<clock offset='utc'>' P& |2 B' z+ A! k1 p% g' G
<timer name='rtc' tickpolicy='delay'/>9 d& s9 w+ |% [$ M, z+ {! h
<timer name='pit' tickpolicy='delay'/>7 v6 b" p- X$ D0 l* A7 f# v
<timer name='hpet' present='no'/>
) x2 [* j4 J4 w* H$ x/ H </clock>' @" ?4 k* t6 j3 f' D8 T2 U
<on_poweroff>destroy</on_poweroff>$ G4 a4 f- E+ K" T+ F+ ?
<on_reboot>restart</on_reboot>9 C+ [4 w. H/ p$ e
<on_crash>restart</on_crash>/ V8 p v3 L* b9 D \. F
<pm>
) I9 r: m2 k) C! h8 v1 [4 G, T/ r <suspend-to-mem enabled='no'/>
7 ]* t& o( }& B' o9 S, Y2 @* J <suspend-to-disk enabled='no'/>
( ?) n% G$ t* Q2 d1 p: u7 F% G2 i# {% i </pm>" Q! p0 N! e) J) n, {$ w& h6 [) e
<devices>8 B0 V. O K+ X4 w( q1 q$ \
<emulator>/usr/libexec/qemu-kvm</emulator>
! ~$ @' D( p" J <disk type='file' device='disk'>" E* B" u* q! `; V
<driver name='qemu' type='qcow2' cache='none'/>
% B, S) Z1 ?" ~! n3 ]& u1 K' Q <source file='/var/lib/libvirt/images/test.qcow2'/>
2 b& z9 {" C ]6 r3 S <backingStore/>
5 c c5 e, x8 j( J! Y) J0 R& I <target dev='hda' bus='virtio'/>* C$ X0 M. p2 S& Z7 R, d$ C8 h; Y
<alias name='virtio-disk0'/>" a a4 {4 k/ s& }/ y" R% q
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>* y: x7 y. P. L3 D8 P
</disk>2 v# R8 E/ J: o4 x5 E
<controller type='pci' index='0' model='pci-root'>
- T7 [( l+ V3 r; j& _ <alias name='pci.0'/>
+ O* B# N5 f+ u& @* k" g5 p5 D! j </controller>
) z6 ?' k$ |# b. m; k; r% d, J) n <controller type='usb' index='0'>
3 y- Q8 x k6 O# u+ f <alias name='usb'/>
6 j+ \; X0 t% f <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>( w+ m6 [) g0 }) c$ W. l+ s
</controller>
6 C5 x/ R( E$ _) }0 }6 \/ T <interface type='bridge'>
. K. |) ?" D* L; q, Q9 j z( W <mac address='50:54:00:59:e9:02'/>$ Z, ~. d5 W: S+ T8 n s
<source bridge='br2455'/>
! o/ U# L5 E( u4 [9 N5 L <target dev='vnet2'/>% i# b0 M) B* s, E2 w2 E8 h
<model type='virtio'/>, }! i1 X, {3 X( Y( X1 R
<alias name='net0'/>
3 C8 n1 o( l2 o$ j7 c& ~ <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
% [" N, B7 t' v+ t1 k </interface>0 \; v3 Q* c- W* I/ B
<interface type='bridge'>7 F6 F* x0 ~/ H# p5 A" q
<mac address='50:54:08:68:1f:c0'/>
; r) e4 j1 _, H- d0 l- | <source bridge='br2083'/>
8 A. @8 @! {: n <target dev='vnet3'/>+ \, U2 ?6 R2 \( Q9 _. a# m# D9 `1 L
<model type='virtio'/>
* r/ G- m( k4 f5 Z <alias name='net1'/>0 R, @) r/ k6 M. o
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
6 B$ V# D6 C- N! c </interface>
" J5 Y( C8 a F6 z; ]2 K <serial type='pty'>5 x$ [ ]+ B; s: S, L( ?2 U
<source path='/dev/pts/2'/>7 A' M/ |: ]: B; A
<target port='0'/>
) k2 z8 p' W9 G& T# B, v/ ] <alias name='serial0'/>
6 k# }% I& j) N7 T1 s8 P* | </serial> ]- t5 T0 Y! d! O
<console type='pty' tty='/dev/pts/2'>
7 d1 @! U/ D: i4 n* P <source path='/dev/pts/2'/> L9 _4 f1 t* r% V |" r2 \# V
<target type='serial' port='0'/>
$ K% k1 q' P8 l$ u2 \1 Q <alias name='serial0'/>+ r8 c |9 M+ {2 l5 P2 ?
</console># b' r* |9 ^- R) A* b
<input type='mouse' bus='ps2'/>2 K9 ] c1 S5 ~( G1 i2 Y2 C( J9 [
<input type='keyboard' bus='ps2'/>
( j2 ]7 ]# I1 w3 a7 k& q <graphics type='vnc' port='5901' autoport='yes' listen='0.0.0.0'>
( i! _7 x9 A( _ <listen type='address' address='0.0.0.0'/>
$ n3 g- x4 \; r% N </graphics>0 k8 t- M j$ c+ b: I1 I* C
<video>
5 A R3 L" D9 H5 `. S3 e# |# Q7 k <model type='vga' vram='16384' heads='1'/>9 `; s, v, c) X
<alias name='video0'/>" U1 w4 P) V# o8 ?. A2 y( H
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>, L/ ]1 w% z5 T x! U, Y* c, E
</video>* [& G2 Z$ z0 x0 f$ Q
<memballoon model='virtio'>0 {+ Q9 Z; x; U3 z' x6 p
<alias name='balloon0'/>7 e* c$ a4 k. G$ `; ^9 k8 U' \
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>! v& @% i0 a& `8 O6 v
</memballoon>
6 N; Y/ t3 J, p: R. H+ N </devices>6 V* r" b2 j, c: C% k
<seclabel type='none' model='none'/>
4 X, t- v: U/ R% {/ \/ C' p. g</domain> |
|