Advertisement
peetaur

xen winxp config, radeo 6770 passthrough

Aug 15th, 2012
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. peter:~/xen # cat /etc/xen/vm/windowsxp2
  2.  
  3. name="windowsxp2"
  4. description="None"
  5. uuid="292b0651-9913-2459-5cfa-fb828f9c4314"
  6. memory=4096
  7. maxmem=4096
  8. vcpus=4
  9. # I don't know what's proper... to set 5-8, or 1,3, etc. to get non-shared cores
  10. cpus="1,3,5,7"
  11.  
  12. on_poweroff="destroy"
  13. on_reboot="restart"
  14. on_crash="destroy"
  15. localtime=1
  16. keymap="en-us"
  17.  
  18. builder="hvm"
  19. device_model="/usr/lib/xen/bin/qemu-dm"
  20. #kernel="/usr/lib/xen/boot/hvmloader"
  21.  
  22. # I added this override long ago, and don't know if it is needed or has any effect
  23. kernel_override="/usr/lib/xen/boot/hvmloader"
  24.  
  25. boot="c"
  26. # this is an LVM disk
  27. disk=[ 'phy:/dev/data/winxp1_disk1,hda,w', ]
  28. vif=[ 'mac=00:16:3e:4e:c5:0c,bridge=br0,model=rtl8139', ]
  29. sdl=0
  30.  
  31. # This next comment is old. It was when something weird happened, and the VNC client would work but the color was messed, and Device Manager said the primary card was the radeon, but obviously it wasn't.
  32. # OLD COMMENT: setting this to 1 makes the radeon the first card, but changing the resolution and color won't work
  33. stdvga=1
  34. vnc=1
  35. vncunused=1
  36.  
  37. # My sound doesn't work properly... haven't figured it out yet.
  38. #audio=1
  39. #soundhw="sb16"
  40. #soundhw='sb16,es1370'
  41. #soundhw='es1370'
  42. #soundhw="all"
  43. #soundhw="ac97"
  44. #soundhw="petersoundthing"
  45.  
  46. audio=0
  47.  
  48. viridian=1
  49. usb=1
  50. acpi=1
  51. apic=0
  52. pae=1
  53.  
  54. usbdevice='tablet'
  55.  
  56. serial="pty"
  57.  
  58. # According to documentation, =1 means remove the emulated video card, and make the passthrough primary. However, it works with =0 and does not work with =1. With =1, it will show a Cirrus Logic as the first card, and a non-working radeon as the second. With =0, it uses the radeon first, and device manager has an "unknown device" which I assume is the Cirrus Logic card.
  59. gfx_passthru=0
  60.  
  61. # devices to pass through: vga, vga audio, usb2, usb2, usb3
  62. pci = [ '04:00.0' , '04:00.1' , '00:12.0' , '00:12.2' , '02:00.0' ]
  63. #pci = [ '04:00.0' , '04:00.1' , '00:12.2' , '02:00.0' ]
  64. #pci = [ '04:00.0' , '04:00.1' ]
  65. #pci = [ '01:00.0' , '01:00.1' ]
  66.  
  67. # No idea what these are or where I got them from... but I didn't test them successfully without
  68. xen_platform_pci=1
  69. pci_msitranslate=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement