Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for configuring sound card for KVM virtual machine in OpenStack

A virtual machine and sound card technology, applied in the field of cloud computing, can solve problems such as the inability to transmit sound from the microphone, the transmission of unplayable media sound to the client, and imperfect support.

Pending Publication Date: 2019-10-15
YANGTZE OPTICAL FIBRE & CABLE CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, in OpenStack, the support for cloud desktop application scenarios is not perfect. The virtual desktop in the cloud cannot transmit the played media sound to the client, and the client cannot transmit the sound collected by the microphone to the cloud virtual desktop.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for configuring sound card for KVM virtual machine in OpenStack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0018] Such as figure 1 As shown, a method for configuring a sound card for a KVM virtual machine in OpenStack includes the following steps:

[0019] 1. Add the add_sound method in the / nova / virt / libvirt / driver.py file, and add the add_sound_driver method in the _get_guest_config method, so that the method of configuring the sound card is added in the process of configuring the virtual machine.

[0020] 3. Add the sound card device method LibvirtConfigGuestSound in the / nova / virt / libvirt / config.py file, and define the model attribute for the sound card, so that user code can configure different types of sound cards accordi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for configuring a sound card for a KVM virtual machine in OpenStack, and the method comprises the following steps: 1), adding a method for configuring sound card equipment in a process of configuring KVM virtual machine equipment according to the business process of starting the virtual machine of the OpenStack; 2) adding a sound card equipment method,and adding a modem attribute to the sound card equipment, so that a user can set a sound card mode; 3) according to the method for configuring the sound card equipment, obtaining the operating systemattribute of the mirror image, and setting a corresponding sound card mode; and 4) after the configuration from the step (1) to the step (3) is completed, generating an xml file for configuring the KVM virtual machine by a subsequent process of the OpenStack, outputting the xml file to the libvirt by the OpenStack, and generating the KVM virtual machine by the libvirt according to the configuration file. According to the method provided by the invention, when a user uses a spice protocol or a windows remote desktop protocol, the sound in the desktop of the cloud can be transmitted to the client, and the sound collected by the microphone on the client can also be transmitted to the desktop of the cloud to be processed.

Description

technical field [0001] The invention relates to cloud computing technology, in particular to a method and device for configuring a sound card for a KVM virtual machine in OpenStack. Background technique [0002] OpenStack is currently the most widely used open source cloud computing framework, and it is still under continuous development and improvement. Cloud desktop is an application method of cloud computing. It is easy to maintain and has higher data security. It is a popular application method. At present, in OpenStack, the support for cloud desktop application scenarios is not perfect. The virtual desktop in the cloud cannot transmit the played media sound to the client, and the client cannot transmit the sound collected by the microphone to the cloud virtual desktop. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and a device for configuring a sound card for a KVM virtual machine in OpenStack in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/455G06F3/16
CPCG06F9/45558G06F3/162G06F2009/45579
Inventor 李成戴维娇梅蕊吴玉
Owner YANGTZE OPTICAL FIBRE & CABLE CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More