Font Size: a A A

Research On Sound Device Virtualization In Xen

Posted on:2012-12-24Degree:MasterType:Thesis
Country:ChinaCandidate:W B ZhouFull Text:PDF
GTID:2218330362456501Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:I/O virtualization, Split driver model, Paravirtualization, Sound device driver
PDF Full Text Request
Related items