Advertisement
Guest User

Untitled

a guest
Dec 8th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. $ cat .bash_aliases
  2.  
  3. alias kvirsh='virsh -c qemu:///system'
  4. alias lvirsh='virsh -c lxc:///'
  5.  
  6.  
  7. $ lvirsh dumpxml hw
  8.  
  9. <domain type='lxc'>
  10. <name>hw</name>
  11. <uuid>38320e75-1ba0-d85a-6138-532a3a66f13d</uuid>
  12. <memory>524288</memory>
  13. <currentMemory>524288</currentMemory>
  14. <vcpu>1</vcpu>
  15. <os>
  16. <type arch='x86_64'>exe</type>
  17. <init>/bin/bash</init>
  18. </os>
  19. <clock offset='utc'/>
  20. <on_poweroff>destroy</on_poweroff>
  21. <on_reboot>restart</on_reboot>
  22. <on_crash>destroy</on_crash>
  23. <devices>
  24. <emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
  25. <console type='pty'>
  26. <target type='lxc' port='0'/>
  27. </console>
  28. </devices>
  29. </domain>
  30.  
  31.  
  32. $ lvirsh start hw
  33.  
  34. error: Failed to start domain hw
  35. error: internal error guest failed to start: 2011-12-08 14:28:57.741: 15081: info : libvirt version: 0.9.7
  36. 2011-12-08 14:28:57.741: 15081: error : lxcControllerRun:1158 : unsupported configuration: Expected exactly one TTY fd
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement