Computer and method for managing hardware device

A hardware device and computer technology, applied in the computer field, can solve problems such as GuestOS operation failure, deadlock, and unsaved operation results, and achieve the effects of avoiding operation failure or deadlock, improving usability, and reducing switching

Active Publication Date: 2010-07-07
LENOVO SOFTWARE
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] When a hardware device needs to be removed in the Host OS, it is hard uninstalled in the Host OS, which often causes the Guest OS to fail to save the virtual hardware device operation results of the hardware device, and in severe cases, it will cause the operation of the Guest OS to fail or deadlock

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
  • Computer and method for managing hardware device
  • Computer and method for managing hardware device
  • Computer and method for managing hardware device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0056] Embodiments of the present invention aim at the prior art, when the second operating system uses a virtual hardware device of a hardware device, if the first operating system needs to uninstall the hardware device, the hardware device is directly removed in the first operating system, Compared with the second operating system, it is all hard uninstallation. At this time, the second operating system is performing operations on the virtual hardware device, such as opening a document on the virtual hardware device or modifying a document, and the hardware device is removed, so that The document currently opened by the second operating system cannot be saved, which may lead to the problem of operation failure or deadlock of the secon...

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 provides a computer and a method for managing a hardware device, wherein the computer comprises a hardware platform, a first operation module which is provided with a first operation system, a virtual machine management module which is provided with a virtual machine manager and a second operation module which is provided with a second operation system which is arranged on the virtual machine manager; the first operation module comprises a back-end driving control module for generating a first trigger signal when a request for unloading the hardware device is detected; the second operation module comprises a front-end driving control module for acquiring the first trigger signal, acquiring the usage status of the virtual hardware device of the hardware device by the second operation system according to the first trigger signal and generating a usage status result; and when the usage status result indicates that the second operation system is using the virtual hardware device, the back-end driving control module is notified not to unload the hardware device. The computer and the method for managing the hardware device can guarantee that the device is safely removed according to the usage status of the device by the second operation system.

Description

technical field [0001] The invention relates to the field of computers, in particular to a computer and a method for managing hardware devices. Background technique [0002] In the field of virtual machine technology in the computer field, such as figure 1 As shown, the virtual machine system usually includes a virtual machine manager (such as Sun's Virtual Box) installed on a computer hardware platform and multiple operating systems, one of which is Host OS, i.e. the main operating system, and the rest are Guest OS, That is, the guest operating system. In the virtual machine environment, users often use the virtualization of hardware devices, especially various external devices. For example, if a USB device is plugged into the hardware platform, the USB device can be directly accessed by the Host OS, while the Guest The OS accesses the virtual USB device of the USB device. A USB controller is virtualized in the Guest OS. When an external USB device needs to be switched to ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F9/46G06F13/10
Inventor 陈博席振新陈军刘春梅
Owner LENOVO SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products