Changes between Version 7 and Version 8 of linux/kvm


Ignore:
Timestamp:
1970/01/01 09:21:16 (55 years ago)
Author:
yuna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • linux/kvm

    v7 v8  
    2424辺りに注意しておく。 
    2525{{{ 
    26 <domain type='kvm' id='3'> 
     26domain type='kvm' id='3'> 
    2727  <name>UbuntuVM</name> 
    28   <uuid>0738f2c4-f03e-4901-9954-0f59480ba1f3</uuid> 
    2928  <memory>524288</memory> 
    3029  <currentMemory>524288</currentMemory> 
    3130  <vcpu>1</vcpu> 
    3231  <os> 
    33     <type arch='x86_64' machine='fedora-13'>hvm</type> 
     32    <type arch='x86_64' machine='pc'>hvm</type> 
    3433    <boot dev='hd'/> 
    3534    <boot dev='cdrom'/> 
    3635  </os> 
    37   <features> 
    38     <acpi/> 
    39     <apic/> 
    40     <pae/> 
    41   </features> 
     36 
    4237  <clock offset='utc'/> 
    43   <on_poweroff>destroy</on_poweroff> 
    44   <on_reboot>destroy</on_reboot> 
    45   <on_crash>destroy</on_crash> 
    4638  <devices> 
    4739    <emulator>/usr/libexec/qemu-kvm</emulator> 
    48     <disk type='file' device='disk'> 
     40     
     41    <!-- DISKの定義 --> 
     42    <disk type='file' device='disk'>   
    4943      <driver name='qemu' type='raw'/> 
    5044      <source file='/mnt/sda5/ubuntu.img'/> 
    5145      <target dev='hda' bus='ide'/> 
    52       <alias name='ide0-0-0'/> 
    53       <address type='drive' controller='0' bus='0' unit='0'/> 
    5446    </disk> 
     47     
     48    <!-- CDROMの定義 --> 
    5549    <disk type='file' device='cdrom'> 
    5650      <driver name='qemu'/> 
     
    5852      <target dev='hdc' bus='ide'/> 
    5953      <readonly/> 
    60       <alias name='ide0-1-0'/> 
    61       <address type='drive' controller='0' bus='1' unit='0'/> 
    6254    </disk> 
    63     <controller type='ide' index='0'> 
    64       <alias name='ide0'/> 
    65       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> 
    66     </controller> 
     55     
     56    <!-- ネットワークインタフェースの定義 -->        
    6757    <interface type='network'> 
    6858      <mac address='52:54:00:1d:18:5e'/> 
    6959      <source network='default'/> 
    70       <target dev='vnet2'/> 
    71       <alias name='net0'/> 
    72       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> 
     60      <target dev='vnet0'/>   
    7361    </interface> 
    74     <serial type='pty'> 
    75       <source path='/dev/pts/4'/> 
    76       <target port='0'/> 
    77       <alias name='serial0'/> 
    78     </serial> 
    79     <console type='pty' tty='/dev/pts/4'> 
    80       <source path='/dev/pts/4'/> 
    81       <target port='0'/> 
    82       <alias name='serial0'/> 
    83     </console> 
     62     
    8463    <input type='mouse' bus='ps2'/> 
    8564    <graphics type='vnc' port='5902' autoport='yes' keymap='ja'/> 
    86     <sound model='es1370'> 
    87       <alias name='sound0'/> 
    88       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> 
    89     </sound> 
    90     <video> 
    91       <model type='cirrus' vram='9216' heads='1'/> 
    92       <alias name='video0'/> 
    93       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> 
    94     </video> 
    9565  </devices> 
     66 
    9667</domain> 
    9768}}}