Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:kvm [2015/12/07 15:39]
vondra [Debian 8]
linux:kvm [2019/01/11 13:14] (current)
admin
Line 1: Line 1:
 ====== Instalace KVM ====== ====== Instalace KVM ======
 TODO: udelat tutorial :) TODO: udelat tutorial :)
 +<code bash>​aptitude -y install qemu-kvm libvirt-bin virtinst bridge-utils </​code>​
 ====== Vytvoreni guesta ====== ====== Vytvoreni guesta ======
 ===== Debian 8 ===== ===== Debian 8 =====
Line 7: Line 7:
   - put following line into grubu in line starting with linux <​code>​console=tty0 console=ttyS0,​115200</​code>​   - put following line into grubu in line starting with linux <​code>​console=tty0 console=ttyS0,​115200</​code>​
   - put "​console=tty0 console=ttyS0,​115200"​ into /​etc/​default/​grub in GRUB_CMDLINE_LINUX_DEFAULT <​code>​GRUB_CMDLINE_LINUX_DEFAULT="​console=tty0 console=ttyS0,​115200"</​code>​   - put "​console=tty0 console=ttyS0,​115200"​ into /​etc/​default/​grub in GRUB_CMDLINE_LINUX_DEFAULT <​code>​GRUB_CMDLINE_LINUX_DEFAULT="​console=tty0 console=ttyS0,​115200"</​code>​
-  - update grub<​code bash>​update-grub<​code>​+  - update grub (this one i always forget and wondering why it doesn'​t work :))<code bash>​update-grub<​/code>
  
 ====== Vzdaleny pristup ====== ====== Vzdaleny pristup ======
Line 75: Line 75:
  
  
 +====== Correct shutdown ======
 +// Keywords: Libvirt Can't shutdown or reboot virtual guest.\
 +I can't reboot or shutdown the guest vm from the host mac//
 +
 +<code bash>
 +modprobe virtio_console
 +apt install qemu-guest-agent
 +service qemu-ga restart
 +apt install acpid
 +</​code>​
 +
 +Test if the agent is running
 +<code bash>
 +    virsh qemu-agent-command jakub-sevcik '​{"​execute":"​guest-info"​}'​
 +</​code>​
 
linux/kvm.1449499171.txt.gz · Last modified: 2015/12/07 15:39 by vondra