20110522kernelvm xen+virtio

2,583 views
2,535 views

Published on

Kernel/VM探検隊 2011/05/22

Published in: Technology
1 Comment
3 Likes
Statistics
Notes
  • 2011/05/28(水) カーネル/VM探検隊で使用した資料をそのままに、LTとして5分枠で話しました。
    「キユーピー3分インフラクッキング qpstudy06 懇親会 あの日見たLTの名前を僕達はまだ知らない」
    http://atnd.org/events/15959
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
2,583
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
22
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

20110522kernelvm xen+virtio

  1. 1.  
  2. 2. • • •  o 
  3. 3. •  o •  o •  o •  o 
  4. 4. • •  o •  o  o •  o  virtio: Linux I/O http://www.ibm.com/developerworks/jp/linux/library/l-virtio/
  5. 5. • •  o  o  IRQ MSI(-X) Xen - eventchannel KVM -
  6. 6. • • • • • • 
  7. 7. •  •  • 
  8. 8. •  o •  o  o  o  o 
  9. 9. • • • • 
  10. 10. • • • • 
  11. 11. While tracing virtio-blk crash issues, I have foundcpu_physical_memory_map() in upstream-qemu+xen behavesdifferent with others. This prevents proper work of virtio-ring bundledin qemu.When a caller requests more than 2 guest-physical pages, the functionwill map the pages in host-virtual, as possible. In kvm+qemu, theregion residents always sequential in host-virtual, so it will workperfectly. However, in xen+qemu, the region mapping is sometimesfragmented and partial. ( )
  12. 12. Citrix This is a very serious issue, thank you very much for spotting it! I am going to refactor cpu_physical_memory_map to fix the problem, I‘ll send you a patch as soon as I have it ready.• • 
  13. 13. o o o o o o 
  14. 14. • •  o •  o  o •  o 
  15. 15. •  •  • •  •  –  –  –  – 

×