Changes between Version 31 and Version 32 of TipAndDoc/VM/KVM


Ignore:
Timestamp:
Oct 28, 2012 10:10:09 PM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/KVM

    v31 v32  
    137137 * [https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/975165 Bug #975165 “Can't use spice even though qemu-kvm-spice is insta...” : Bugs : “virt-manager” package : Ubuntu] 
    138138 * [https://bugs.launchpad.net/ubuntu/+source/qemu-kvm-spice/+bug/962376 Bug #962376 “spicevmc not supported in QEMU binary” : Bugs : “qemu-kvm-spice” package : Ubuntu] 
     139 
     140 = start/shutdown log for VM = 
     141 *  Ubuntu 12.04 
     142 
     143 * /var/log/libvirt/qemu 以下に、VMごとのログが残される 
     144{{{ 
     145-rw------- 1 root root  3940 Oct  8 00:24 quantal.log 
     146-rw------- 1 root root 12394 Oct 13 23:13 test.log 
     147}}} 
     148 * /var/log/libvirt/qemu/xp-vm01.log 
     149{{{ 
     1502012-10-28 12:46:55.328+0000: starting up 
     151LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name xp-vm01 -uuid XXXXXXXX-YYYY-ZZZZ-WWWW-VVVVVVVVVVVV -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/xp-vm01.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-shutdown -drive file=/var/lib/libvirt/images/xp-vm01.img,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive file=/home/mitty/virtio-win-0.1-30.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=16,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:a8:d0:1d,bus=pci.0,addr=0x3 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:1 -vga vmware -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 
     152vmsvga_value_read: Bad register 2b 
     153vmsvga_value_read: Bad register 2c 
     154qemu: terminating on signal 15 from pid 1803 
     1552012-10-28 12:51:56.141+0000: shutting down 
     156}}} 
     157 
     158 == autoshutdown == 
     159 * /var/log/libvirt/shutdownlog.log で確認できる 
     160{{{ 
     161libvirt: libvirt-bin: entering pre-stop at Fri Oct 19 23:22:33 JST 2012 
     162libvirt: libvirt-bin: attempting clean shutdown of xp-vm02 at Fri Oct 19 23:22:33 JST 2012 
     163libvirt: destroying xp-vm02 
     164libvirt: libvirt-bin: exiting pre-stop at Fri Oct 19 23:23:06 JST 2012 
     165libvirt: libvirt-bin: entering pre-stop at Fri Oct 26 23:37:35 JST 2012 
     166libvirt: libvirt-bin: exiting pre-stop at Fri Oct 26 23:37:35 JST 2012 
     167libvirt: libvirt-bin: entering pre-stop at Sun Oct 28 21:45:17 JST 2012 
     168libvirt: libvirt-bin: attempting clean shutdown of xp-vm02 at Sun Oct 28 21:45:17 JST 2012 
     169libvirt: libvirt-bin: attempting clean shutdown of xp-vm01 at Sun Oct 28 21:45:17 JST 2012 
     170libvirt: libvirt-bin: exiting pre-stop at Sun Oct 28 21:45:45 JST 2012 
     171}}} 
     172 
     173 * /etc/init/libvirt-bin.conf で制御されている模様