{"shas":[["93ef2d5f2994d736dd6474f9dc869377de03d06d","add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org","kvm tools: Boot to host /bin/sh via 9p by default\n\nThis patch updates 'kvm run' to boot to host filesystem via 9p '/bin/sh' by\ndefault:\n\n  $ ./kvm run\n    # kvm run -k ../../arch/x86/boot/bzImage -m 320 -c 2 --name guest-3462\n  [    0.000000] Linux version 3.1.0-rc1+ (penberg@tiger) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #7 SMP PREEMPT Tue Aug 9 16:39:20 EEST 2011\n  [    0.000000] Command line: notsc noapic noacpi pci=conf1 reboot=k panic=1 console=ttyS0 earlyprintk=serial  init=/bin/sh  root=/dev/vda rw  root=/dev/root rootflags=rw,trans=virtio,version=9p2000.u rootfstype=9p\n\n  [snip]\n\n  [    1.803261] VFS: Mounted root (9p filesystem) on device 0:13.\n  [    1.805153] devtmpfs: mounted\n  [    1.808353] Freeing unused kernel memory: 924k freed\n  [    1.810592] Write protecting the kernel read-only data: 12288k\n  [    1.816268] Freeing unused kernel memory: 632k freed\n  [    1.826030] Freeing unused kernel memory: 1448k freed\n  sh: cannot set terminal process group (-1): Inappropriate ioctl for device\n  sh: no job control in this shell\n  sh-4.1#\n\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Asias He <asias.hejun@gmail.com>\nCc: Cyrill Gorcunov <gorcunov@gmail.com>\nCc: Ingo Molnar <mingo@elte.hu>\nCc: Prasad Joshi <prasadjoshi124@gmail.com>\nCc: Sasha Levin <levinsasha928@gmail.com>\nSigned-off-by: Pekka Enberg <penberg@kernel.org>","Pekka Enberg"]],"ref":"refs/heads/master","size":1,"head":"93ef2d5f2994d736dd6474f9dc869377de03d06d","push_id":39008576}