Research on Sound Device Virtualization in Xen

Author
ZhouWenBo
Advisor
LiShengLi
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2011
Downloads
7
Citations
0

Request the full text

Abstract

With the introduce of virtualization technology, there are many achievements about the research of virtualizing CPU and memory , high-quality I/O virtualization is still a big challenge. Currently Xen paravirtualization solution doesn’t provide the support for sound device, so user can’t play audio in Xen paravirtualized environment, which directly impacts the user experience in Xen paravirtualized environment.Based on split driver model, creating a frontend sound device driver in unprivileged guest and creating a backend sound device driver in privileged guest can implement sound device virtualization in Xen paravirtualized environment. The frontend sound device driver builts a virtual sound device based on the ALSA driver architecture, which provides abstract interfaces for upper. The frontend sound device driver intercepts the audio requests via these interfaces and sends them to the backend sound device driver, which receives audio requests and passes them to native sound device driver to operate sound device. For high-efficiency, using the device I/O rings to pass requests and responses, the grant tables to transfer data without copying and event channel for asynchronous notifications. The connection between frontend and backend sound devices is set up based on their XenBus states, which ensures the operating orders of frontend and backend. In Xen paravirtualized environment, frontend and backend devices are registered on the XenBus. To register frontend and backend sound devices, add support for sound device in the configuration file, and populate the frontend and backend sound device to the XenStore to register them.The test results show that user can play fluently audio in Xen paravirtualized environment with the help of our sound device virtualization, and it provides better user audio experience than in Xen full virtualized environment.

Table of contents

Summary 3-4 Abstract 4-7 1 Introduction 7-12 1.1 subject background and significance 7-8 < br /> 1.2 research status 8-10 1.3 main content 10-11 to 1.4 papers organizational structures 11-12 the sound device virtualization design 12-22 2.1 based on XEN paravirtualized separation equipment model the 12-17 2.2 based on separate drive model of sound device virtualization nbsp 17-20 2.3 Summary 20-22 3 sound device virtualization implementation process ; 22-40 3.1 before and after the end of the sound equipment registered 22-25 3.2 before and after the communication link between the end are found ; end sound card drivers are found in around 25-29 3.3 ; 29-38 3.4 Summary 38-40 4 system test 40-47 4.1 experimental environment 40 4.2 functional Test 40-42 4.3 performance test 42-46 4.4 Summary 46-47 5 Summary and future work 47-49 thank the 49-50 < br /> reference 50-53

Related dissertations

  1. The Design and Implementation of I/O Virtualization and Related Applications on Multi-Core Network Device
  2. A Study of High Performance Network Virtualization Technique
    YangHongBo ·Shanghai Jiaotong University ·2012 ·Doctoral dissertation
  3. File Transparent Encryption System Based on Xen
  4. Research and Optimizations for High Performance I/O Virtualizaion Based on SR-IOV
    HuangZhiQiang ·Shanghai Jiaotong University ·2013 ·Master's thesis
  5. Adaptive Interrupt-free System in High Performance I/O Virtualization
    MiXiang ·Shanghai Jiaotong University ·2013 ·Master's thesis
  6. The Research on Multi-level I/O Virtualization Technology Based on Cooperative Model
  7. Research on the Performance Isolation and Optimization in I/O Virtualization
  8. Research on High Productivity I/O Architecture and Implementing Technology for Multi-Core Microprocessor Chip
  9. The Analysis and Research on Para-Virtualization
    CaoXin ·Zhejiang University ·2008 ·Master's thesis
  10. Lyn: A New Lightweight Virtualization Technology
    YangZuo ·Zhejiang University ·2007 ·Master's thesis
  11. Design and Implementation of PowerPC Simulation System Based on Paravirtualized Memory
    ZhouChenFeng ·Zhejiang University ·2006 ·Master's thesis
  12. Research on CPU Scheduler of Paravirtualization Based on SMP Architecture
    ZhengXingJie ·Harbin Engineering University ·2009 ·Master's thesis
  13. Research and Implementation of the Virtualization Based on uCOS-II
    JiangHao ·Southwest Jiaotong University ·2008 ·Master's thesis
  14. Research on Inter-domain Communication and Performance Model of Hardware Virtual Machine
  15. Network-based Intrusion Detection System for Virtual Machine
  16. Embedded real-time Hypervisor: XtratuM
    BaiShuWei ·Lanzhou University ·2009 ·Master's thesis
  17. Research and Improvement of Network Bandwidth Allocation of Xen
    HuLengFei ·Shanghai Jiaotong University ·2009 ·Master's thesis
  18. Hardware-Aided USB Device Virtualization Framework Research
    HeYunChao ·Shanghai Jiaotong University ·2011 ·Master's thesis
  19. Research and Optimization of SR-IOV Virtualization Technology
  20. Based on Intel VT-d technology, I / O virtualization implementations under XEN