US8452904B2 - Client system, client control method, and computer-readable recording medium configured to store client control program using virtual machine for control by client device - Google Patents
Client system, client control method, and computer-readable recording medium configured to store client control program using virtual machine for control by client device Download PDFInfo
- Publication number
- US8452904B2 US8452904B2 US13/004,443 US201113004443A US8452904B2 US 8452904 B2 US8452904 B2 US 8452904B2 US 201113004443 A US201113004443 A US 201113004443A US 8452904 B2 US8452904 B2 US 8452904B2
- Authority
- US
- United States
- Prior art keywords
- guest
- input
- host
- virtual machine
- character string
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related, expires
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45579—I/O management, e.g. providing access to device drivers or storage
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- Embodiments discussed herein relate to a client system, a client control method, and a computer-readable recording medium configured to store a client control program that are performed by using a virtual machine.
- FIG. 20 illustrates an explanatory diagram of a conventional thin client system.
- a server 200 is coupled to a client personal computer (PC) 100 through Network Interface Cards (NIC) 110 and 120 that are communication units.
- the client PC 100 simply includes a keyboard, a mouse, a display, that is, a Video Graphics Array (VGA) display, a Central Processing Unit (CPU), and a memory.
- VGA Video Graphics Array
- CPU Central Processing Unit
- the operation information in the client PC 100 is sent to the server 200 through the NIC 110 and 120 .
- the server 200 includes a CPU, a memory, and a disk device.
- the server 200 executes a certain application, processes the operation information, and sends back the processing results to the client PC 100 .
- the processing results sent from the server 200 are displayed on the client PC 100 .
- the server 200 may be a real server or a server of a guest OS that is divided by a virtual machine.
- the client PC 100 is provided with the CPU and the memory because the keyboard, the mouse, the VGA display, and the NIC 110 in the client PC are generally processed. However, additional processing is performed little if not zero, so that a high-performance CPU and memory are not generally employed in the client PC.
- the server 200 that is, a real machine system
- the server 200 includes a virtual machine monitor (virtualization software), a host Operating System (OS), and two or more guest OS.
- the host OS is provided to manage the guest OS.
- the virtual machine monitor controls the host OS and the guest OS by virtualization technology.
- Patent Document 1 Japanese Patent Application Laid-open Publication No. 2008-052407 (for example, as illustrated in FIGS. 1 to 7 in the Publication);
- Patent Document 2 Japanese Patent Application Laid-open Publication No. 11-134117;
- Non-Patent Document 1 “Thin client”, Incept Inc., Web site, Nov. 18, 1999, URL: http://e-words.jp/w/E382B7E383B3E382AFE383A9E382A4E382A2E383B3E38388.html, searched on Aug. 24, 2009.
- the thin client system may employ a power-thrifty PC, causing energy savings as a whole.
- the client PC generally includes the CPU and the memory because the processing capability to process the keyboard, the mouse, the VGA display, and the NIC 110 operations is desired in the client PC.
- each of the client PC generally includes the CPU and memory, so that further cost reduction may be difficult.
- a client system, a client control method, and a computer-readable recording medium is configured to store a client control program that uses the virtual machine and that may perform the energy saving in the PC using the virtualization technology.
- a client system using a virtual machine includes: a physical server that includes a CPU, a memory, a bus, and a plurality of bus adapters, manages a plurality of guest OS by a host OS, and operates as a virtual machine; and a plurality of input and output units that are coupled to the plurality of bus adapters of the physical server respectively.
- the host OS of the physical server includes a configuration definition table that stores identification numbers, in the bus components and corresponding to the plurality of guest OS, of the input and output units using the guest OS, and the host OS notifies the guest OS corresponding to the input unit of input instruction information from the input units with reference to the configuration definition table and outputs a processing result of the guest OS to the output unit corresponding to the guest OS.
- FIG. 1 illustrates a physical block diagram according to an embodiment in a client system
- FIG. 2 illustrates a physical block diagram according to an embodiment of a server in the client system of FIG. 1 ;
- FIG. 3 illustrates a functional block diagram of software in a virtual machine system in FIGS. 1 and 2 ;
- FIG. 4 illustrates an explanatory diagram of a connection configuration in the client in FIGS. 1 to 3 ;
- FIG. 5 illustrates an explanatory diagram of a guest OS configuration definition table in FIG. 3 ;
- FIG. 6 illustrates a flowchart of processing of a guest OS management program in a host OS according to an embodiment
- FIG. 7 illustrates a flowchart of processing of a guest OS management program in a host OS according to the embodiment
- FIG. 8 illustrates an explanatory diagram of operations of guest OS management processing
- FIG. 9 illustrates an explanatory diagram of startup processing of a guest OS according to the embodiment.
- FIG. 10 illustrates an explanatory diagram of the allocation of a physical memory in FIG. 9 ;
- FIG. 11 illustrates an explanatory diagram of the address conversion between a real physical address and a guest physical address in FIG. 10 ;
- FIG. 12 illustrates an explanatory diagram of an interrupt number management table according to a first embodiment in the I/O resource allocation in FIG. 9 ;
- FIG. 13 illustrates an explanatory diagram of a device memory management table according to the first embodiment in the I/O resource allocation in FIG. 9 ;
- FIG. 14 illustrates an explanatory diagram according to a second embodiment in the I/O resource allocation in FIG. 9 ;
- FIG. 15 illustrates another explanatory diagram according to the second embodiment in the I/O resource allocation in FIG. 9 ;
- FIG. 16 illustrates an explanatory diagram of termination processing of the guest OS according to the embodiment
- FIG. 17 illustrates a functional block diagram of software in a virtual machine system according to another embodiment
- FIG. 18 illustrates an explanatory diagram of the I/O operations in FIG. 17 ;
- FIG. 19 illustrates an explanatory diagram of a virtual machine according to another embodiment
- FIG. 20 illustrates an explanatory diagram of a conventional client system.
- the embodiments are described below in the order of a client system using a virtual machine, client processing by the virtual machine, processing of the virtual machine and another embodiment.
- the client system is not limited to the embodiments.
- FIG. 1 illustrates a physical block diagram according to an embodiment in a client system.
- FIG. 2 illustrates a physical block diagram according to an embodiment of a server in the client system of FIG. 1 .
- FIG. 3 illustrates a functional block diagram of software in a virtual machine system in FIGS. 1 and 2 .
- FIG. 4 illustrates an explanatory diagram of a connection configuration in the client in FIGS. 1 to 3 .
- FIG. 5 illustrates an explanatory diagram of a guest OS configuration definition table in FIG. 3 .
- a physical server 10 may include two or more Universal Serial Bus (USB) ports (for example, four USB ports in FIG. 1 ).
- USB Universal Serial Bus
- Two or more desks (for example, four desks in FIGS. 1 ) 15 - 0 to 15 - 3 may be provided with mouses 14 - 0 to 14 - 3 , keyboards 13 - 0 to 13 - 3 , and displays (VGA displays) 12 - 0 to 12 - 3 respectively.
- USB Universal Serial Bus
- VGA displays displays
- the USB port in the physical server 10 is coupled to at least one of two or more USB hubs (for example, four USB hubs in FIGS. 1 ) 11 - 0 to 11 - 3 .
- the USB hubs 11 - 0 to 11 - 3 are coupled to any type of corresponding USB input/output devices, for example, mouses 14 - 0 to 14 - 3 , keyboards 13 - 0 to 13 - 3 , and VGA displays 12 - 0 to 12 - 3 respectively.
- Each of the mouses 14 - 0 to 14 - 3 , keyboards 13 - 0 to 13 - 3 , and VGA displays 12 - 0 to 12 - 3 operate as the USB device of the physical server 10 .
- the mouses, keyboards, and VGA displays are coupled to the physical server 10 through the USB hubs respectively as illustrated in FIG. 1 because the number of USB ports of the physical server 10 is limited.
- the USB hubs may be omitted when there are enough USB ports available in the physical server 10 or when the number of clients coupled to the physical server 10 is small.
- USB devices are provided with USB identification numbers (for example, “USB XXX” as illustrated in FIG. 1 ), and a tree indicating a connection configuration among the USB components is created as illustrated in FIG. 4 .
- the physical server 10 is described below with reference to FIG. 2 .
- the physical server 10 includes a real machine 1 and peripheral devices 5 to 7 .
- the real machine 1 employs one or more CPU/memories 2 , a Host Bus Adapter (HBA) 3 including a USB controller, and a Network Interface Card (NIC) 4 as hardware.
- HBA Host Bus Adapter
- NIC Network Interface Card
- the HBA 3 is coupled to the storage device 7 (for example, a disk device) through the switch 5 (hereinafter also referred to as a Fibre Channel (FC) switch).
- the NIC 4 is coupled to Local Area Network (LAN) 8 through a net switch 6 .
- the USB controller that is included in the HBA 3 and is coupled to USB ports 3 - 1 to 3 - 4 as illustrated in FIG. 3 .
- the physical server 10 may function as two or more virtual servers 9 to the physical hardware.
- the virtualization software causes the CPU/memory 2 to function as the virtual server and causes the relationship between the physical server 10 and Input/Output (I/O) devices including the FC switch 5 , the storage device 7 , and the net switch 6 to virtualize.
- the allocation and change of the I/O resources to the server, and the replacement of the server may be simplified by, for example, virtualization of the I/O adapter connection between the switch and the virtual machine, virtualization of address of the HBA 3 and NIC 4 , and setting of the access right of the I/O devices including the FC switch 5 , the storage device 7 , and the net switch 6 .
- the virtual machine monitor (Hypervisor) 24 is included in the layer where the whole VM system is controlled, and divides the physical resources such as the CPU/memory 2 , the NIC 4 , the net switch 6 , the FC switch 5 , and the storage device 7 into virtual resources.
- the virtual machine monitor 24 performs the allocation of the resource to each OS on the divided virtual resource basis, the dispatch of each of the OS, the emulation of privileged instructions executed by each of the OS, and the hardware control to the CPU.
- VMware trademark
- Hyper V trademark
- Xen trademark
- a host OS 20 functions as a domain OS, operates the whole VM system, and manages the guest OS 22 - 1 to 22 - 4 .
- the host OS 20 is started-up automatically when the VM system is booted, controls the startup/termination of the driver OS and the guest OS.
- the guest OS 22 - 1 to 22 - 4 are OS that are not provided with a real I/O in the VM configuration and may employ a known OS such as Linux (registered trademark) or Windows (registered trademark).
- the hardware (referred to as physical server in FIGS. 1 and 2 ) 10 includes the USB ports 3 - 1 to 3 - 4 .
- the USB devices for guest operation include each of the mouses 14 - 0 to 14 - 3 , the keyboards 13 - 0 to 13 - 3 , and the VGA displays 12 - 0 to 12 - 3 respectively and are coupled to the USB ports 3 - 1 to 3 - 4 through the USB hubs 11 - 0 to 11 - 3 respectively.
- the host OS 20 includes the guest OS configuration definition table 26 that associates the USB devices with the guest OS 22 - 1 to 22 - 4 , and a guest management program 30 that controls the guest OS with reference to a guest OS configuration definition table 26 .
- the guest OS configuration definition table 26 and the guest management program 30 are described below with reference to FIGS. 4 and 5 .
- the startup operation in the guest OS is performed using the keyboards 13 - 0 to 13 - 3 in each of the clients. In the real machine, the power of the machine is supplied when the power button of the PC is operated. In the VM system, the startup operation of the guest OS is generally operated from the host OS 20 .
- a network function is generally used because the login to the host OS is generally performed when the host OS is operated. Therefore, an OS function is desired for the use of the network function, causing the client to employ a CPU.
- the host OS 20 is provided with a function that associates USB tree with the guest OS, and is operated without including a CPU and an OS in the client.
- the host OS 20 manages which of the guest OS 22 - 1 to 22 - 4 is associated with a USB device and a guest OS operates in response to a USB device.
- a device communication interface or specification other than the USB specification can be used, that enables a host to interface with a device, which does not have processing (hardware and/or software) capabilities for executing functions to interface with a host OS, based upon a device number assigned to the device and an established data channel to the device.
- the USB tree is structured for enabling recognition of which guest OS being operated from a certain USB device such as the keyboard or mouse.
- the USB tree indicates the connections among USB components and has a tree structure to couple the USB ports 3 - 1 to 3 - 4 to the USB hubs 11 - 0 to 11 - 3 to the USB devices including the keyboards 13 - 0 to 13 - 3 , the mouses 14 - 0 to 14 - 3 , the VGA displays 12 - 0 to 12 - 3 respectively.
- USB XXX is illustrated as the USB identification numbers in FIG. 4 .
- the USB tree is associated with the guest OS.
- the guest OS 22 - 1 is associated with a first USB tree to couple the USB port 3 - 1 to the USB hub 11 - 0 to the USB devices including the keyboard 13 - 0 , the mouse 14 - 0 , and the VGA display 12 - 0 .
- the guest OS 22 - 4 is associated with a fourth USB tree to couple the USB port 3 - 4 to the USB hub 11 - 3 to the USB devices including the keyboard 13 - 3 , the mouse 14 - 3 , and the VGA display 12 - 3 .
- the guest OS configuration definition table 26 stores a correspondence table that indicates the association of the USB ports with the guest OS.
- the correspondence table allows the host OS 20 to associate the I/O instruction information to/from the USB ports 3 - 1 to 3 - 4 with the guest OS 22 - 1 to 22 - 4 respectively.
- the guest OS configuration definition table 26 is, on the guest OS basis, provided with items such as a guest OS name, a guest OS operation/display USB device number, a guest OS startup key (described later), and a guest OS forcible termination key (described later).
- USB hub 11 - 0 “USB00”, keyboard 13 - 0 (USB device) “USB000”, mouse 14 - 0 (USB device) “USB001”, and VGA display 12 - 0 (USB device) “USB002” are stored as items associated with a first guest OS 22 - 1 “guest_OS — 001” in the guest OS configuration definition table 26 .
- the two or more guest OS may share the use of the USB hub.
- Another USB device such as an external USB memory in addition to the keyboard 13 - 0 , the mouse 14 - 0 , and the VGA display 12 - 0 may be associated with the guest OS because the USB device numbers are associated with the guest OS.
- the startup of the guest OS is generally operated from the host OS 20 .
- the startup of the guest OS by another person is desired to be prevented. That is, the startup of the guest OS by another person without permission when the person who owns the guest OS is away is desired to be prevented.
- an authentication of the association of an operator with a guest OS is desired.
- the host OS 20 includes a function that identifies the operator who has performed the startup operation of the guest OS as the operator allowed to operate the guest OS. Without the function, when the guest OS in a state of termination is operated with a certain keyboard by an operator, the operator may deliberately or accidentally start-up the guest OS that is even not owned by the operator, causing undesirably security vulnerability.
- an authentication function for the startup of the guest OS may be employed.
- the authentication function is employed that causes the guest OS to start-up when the guest OS startup key that is set in the correspondence table of the guest OS configuration definition table 26 included in the host OS 20 coincides with the certain key (startup character string) inputted by the operator.
- guestOS1_act_key guestOS1_PowerON_hooHOO (23 characters)
- the host OS 20 When the defined startup character string has been inputted from the keyboard that is coupled to the USB port associated with a certain guest OS, the host OS 20 recognizes that the operator who has inputted the defined startup character string is entitled to the startup operation of the guest OS, and the host OS 20 starts-up the guest OS.
- the forcible termination of the guest OS is performed by guest OS operation KVM, that is, the keyboard 13 - 0 , mouse 14 - 0 , and VGA display 12 - 0 .
- guest OS operation KVM that is, the keyboard 13 - 0 , mouse 14 - 0 , and VGA display 12 - 0 .
- the forcible termination operation of the guest OS in addition to the startup operation is generally performed from the host OS 20 .
- the authentication function is employed that causes the guest OS to forcibly terminate when the guest OS forcible termination key that is set in the correspondence table of the guest OS configuration definition table 26 in the host OS 20 coincides with the certain key (forcible termination character string) inputted by the operator.
- the host OS 20 forcibly terminates the guest OS.
- the similar method to the method of inputting the forcible termination character string may be applied to a dump sampling, that is a Non-maskable Interrupt (NMI) button in the real machine (see the website, http://ja.wikipedia.org/wiki/%E5%89%B2%E3%82%8A%E8%BE%BC%E3%81%BF), forcible reboot of the guest OS, or the like, in addition to the forcible termination of the guest OS.
- NMI Non-maskable Interrupt
- the host OS identifies the guest OS associated with the keyboard or mouse used for the input operation with reference to the guest OS configuration definition table 26 , and the input instruction information is processed by the identified guest OS.
- the USB device to be used for the description is identified with reference to the guest OS configuration definition table 26 , and the description is performed on the identified USB device.
- the startup/termination and normal operational state of the guest OS are described with reference to FIG. 3 .
- the request for the startup/termination of the guest OS 22 - 1 is performed by inputting the certain key from the guest OS operation keyboard 13 - 0 .
- the guest management program 30 in the host OS 20 determines whether or not that the USB port where the request for the startup/termination of the guest OS 22 - 1 is inputted and the inputted key are associated with the guest OS defined in the guest OS configuration definition table 26 .
- the virtual machine monitor (Hypervisor) 24 performs the startup/termination of the guest OS 22 - 1 according to the notification from the host OS 20 .
- the guest OS 22 - 1 is operated from the guest OS operation KVM, that is, the keyboard 13 - 0 , mouse 14 - 0 , and VGA display 12 - 0 after the startup of the guest OS 22 - 1 .
- the input units including the keyboard and mouse and the VGA display are coupled to the USB ports of the physical server 10 as USB devices, and the server 10 includes a virtual machine.
- the guest OS may be operated by using each of the input units/VGA displays in the server 10 because the host OS 20 identifies the guest OS associated with each of the input units/VGA displays.
- a client PC may be used by a user without a CPU and memory, causing the energy saving of the client PC.
- a function to associate the USB tree with the guest OS is included in the host OS 20 , so that the connection of the USB devices with the virtual server may be performed simply by adding guest OS control processing without remodeling the guest OS and the virtual machine monitor.
- the host OS are generally performed with a CPU/memory, while the client PC may be performed without the CPU/memory.
- the guest OS may be applied to the client system without limitation of the kind of the guest OS because the guest OS is employed without modification in the client system.
- Each of the guest OS is generally provided with a keyboard, a mouse, and a display. That is, the guest OS may be performed without a CPU, a memory, a hard disk, and an installed OS that are included in the client of the conventional thin client system. As a result, the client PC that is low price and saves electric power may be applied to the client system according to the embodiment.
- the user may use the similar functions to the functions in the real machine such as the forcible termination, the dump sampling, and the reboot because the operations that may be performed in the real machine may be defined in the host OS 20 .
- the function that identifies the operator allowed to operate the guest OS is included in the host OS 20 , so that the security vulnerability may be reduced if not prevented.
- the function that starts-up and forcibly terminates the guest OS is included in the host OS 20 , so that the user may execute an application utilizing the guest OS without awareness of the processing of the host OS 20 .
- the USB tree is associated with the guest OS in the host OS 20 , so that functions that causes the guest OS to process the input instruction information from the keyboard and mouse and displays the VGA output from the guest OS on the desired display are included in the system.
- the user may execute an application utilizing the guest OS without awareness of the processing of the host OS 20 .
- FIGS. 6 and 7 illustrate flowcharts of processing of a guest OS management program in a host OS according to an embodiment.
- FIG. 8 illustrates an explanatory diagram of operations of the guest OS management processing.
- the host OS 20 When the host OS 20 is started-up, the host OS 20 identifies the USB tree of the real machine. That is, the host OS 20 obtains each of the numbers of the USB devices that have connections among the USB tree, compares the numbers with the contents registered in the guest OS configuration definition table 26 , and identifies each of the USB devices that have connections among the USB tree. In addition, the host OS 20 manages the association of the USB devices with the corresponding guest OS respectively with reference to the association of the USB tree in the guest OS configuration definition table 26 with the corresponding guest OS after identifying each of the USB devices.
- the host OS 20 waits for the guest OS startup operation from the keyboard.
- the host OS 20 accepts the input from the keyboard through the USB port, the host OS 20 refers to the guest OS configuration definition table 26 with the USB number of the keyboard where the input operation has been performed, and identifies the guest OS corresponding to the keyboard.
- the host OS 20 determines that whether or not the character string inputted from the keyboard coincides with the startup key defined by the guest OS in the guest OS configuration definition table 26 , and identifies the startup operation by the operator allowed to operate the guest OS based on the determined result. When the inputted character string does not coincide with the startup key, the host OS 20 displays an error message on the display corresponding to the keyboard and the flow returns to Operation S 12 .
- the host OS 20 causes the guest OS 22 - 1 that has been successfully authenticated to start-up through the virtual machine monitor 24 as illustrated by arrow A in FIG. 8 .
- the guest OS boots and starts-up.
- the host OS 20 waits for a display output from the guest OS or an input from a keyboard or mouse. When the host OS 20 accepts the input, the host OS 20 determines that whether or not the input is operated from a keyboard based on the USB number of the USB device where the input operation has been performed. When the input is not operated from a keyboard, the flow proceeds to Operation S 24 in FIG. 7 .
- the host OS 20 determines that the input is operated from a keyboard, the host OS 20 determines that the character string inputted from the keyboard coincides with the forcible termination key that is defined by the guest OS and stored in the guest OS configuration definition table 26 . When the host OS 20 determines that the inputted character string coincides with the forcible termination key, the host OS 20 causes the guest OS corresponding to the forcible termination key to terminate forcibly as illustrated by arrow D in FIG. 8 . After that the flow returns to Operation S 12 .
- the host OS 20 determines that the inputted character string does not coincide with the forcible termination key, the host OS 20 notifies the guest OS 22 - 1 corresponding to the keyboard where the character string has been inputted of the keyboard instruction information through the virtual machine monitor 24 as illustrated by arrow B in FIG. 8 . After that, the flow returns to Operation S 18 .
- the virtual machine monitor 24 restores the time of dispatch. After that, the host OS 20 determines whether or not the input is operated from a mouse based on the USB number of the USB device that has accepted the input. When the host OS 20 determines that the input is not operated from a mouse, the flow proceeds to Operation S 28 .
- the host OS 20 determines that the input is operated from a mouse, the host OS 20 notifies the guest OS 22 - 1 corresponding to the mouse that has been operated of the mouse instruction information through the virtual machine monitor 24 as illustrated by arrow B in FIG. 8 . After that, the flow returns to Operation S 18 .
- the host OS 20 determines that the input is not operated from a mouse, the host OS 20 identifies the display output from the guest OS. After that, the host OS 20 outputs screen data on a physical display corresponding to the guest OS as illustrated by arrow C in FIG. 8 , and the flow returns to Operation S 18 .
- the host OS 20 notifies the guest OS of the keyboard or mouse input instruction information with reference to the guest OS configuration definition table 26 to cause the guest OS to process the keyboard or mouse input instruction information.
- the client system may be performed simply by employing a certain host OS without modification of the guest OS or the virtual machine monitor because the host OS 20 is provided with the guest management program 30 including an authentication unit 30 - 1 , a guest OS startup/termination unit 30 - 2 , and a guest KVM processing unit 30 - 3 , and the guest OS configuration definition table 26 as described above.
- the guest OS may be applied to the client system without limitation of the kind of the guest OS because the guest OS is employed without modification in the client system.
- FIG. 9 illustrates an explanatory diagram of startup processing of the guest OS according to the embodiment.
- FIG. 10 illustrates an explanatory diagram of the allocation of the physical memory in FIG. 9 .
- FIG. 11 illustrates an explanatory diagram of the address conversion between the real physical address and the guest physical address in FIG. 10 .
- FIGS. 12 and 13 illustrate explanatory diagrams according to a first embodiment in the I/O resource allocation in FIG. 9 .
- FIGS. 14 and 15 illustrate explanatory diagrams according to a second embodiment in the I/O resource allocation in FIG. 9 .
- FIG. 16 illustrates an explanatory diagram of termination processing of the guest OS according to the embodiment.
- the startup processing of the guest OS is described with reference to FIG. 9 .
- a device emulator 32 creates the virtual machine instances (a virtual CPU, a guest physical memory, a virtual device, etc.) and initializes each resource.
- the virtual machine monitor 24 creates a memory management table to associate a guest physical memory with a real physical memory as described in FIGS. 10 and 11 later.
- the virtual machine monitor 24 creates an I/O management table to associate a guest physical I/O with a real physical I/O as described in FIGS. 12 to 15 later.
- the virtual machine monitor 24 registers a virtual CPU on a virtual CPU scheduler.
- the virtual machine monitor 24 registers the virtual CPU instances created in “Operation (1)” on the virtual CPU scheduler and executes the virtual CPU within the virtual machine monitor 24 .
- the virtual machine monitor 24 manages a physical memory space 2 - 2 allocated to the driver OS and the guest OS and controls a memory access that is performed by each of the driver OS and guest OS. For example, as illustrated in FIG. 10 , the virtual machine monitor 24 allocates the physical memory space 2 - 2 to the virtual machine monitor, the host OS 20 , the driver OS, and the guest OS.
- the guest OS specifies a guest physical address and performs the memory access. As illustrated in FIG. 11 , the virtual machine monitor 24 converts the guest physical address into the real physical address and performs the actual memory access. The virtual machine monitor 24 creates the memory management table to perform such address conversion.
- the guest OS may operate within the memory space allocated by the virtual machine monitor 24 .
- the virtual machine monitor 24 may operate within the memory space allocated to the virtual machine monitor.
- the virtual machine monitor 24 may be allowed to access other memory spaces.
- the host OS 20 and the driver OS may access certain memory spaces when the virtual machine monitor 24 allows the access.
- I/O access methods are as followed:
- FIG. 12 illustrates an interrupt number management table that associates guest interrupt numbers (numbers of a keyboard, a disk, network, and the like) with physical interrupt numbers (physical numbers of the keyboard, the disk, the network, and the like).
- FIG. 13 illustrates a device memory (Memory-mapped I/O (MMIO), Port-mapped I/O (PMIO), etc.) management table that associates guest interrupt numbers (numbers of memories/registers of a keyboard, a disk, network, and the like) with physical interrupt numbers (physical numbers of the memories/registers of the keyboard, the disk, the network, and the like).
- MMIO Memory-mapped I/O
- PMIO Port-mapped I/O
- the guest OS converts the numbers mutually among the created I/O management table that associates the guest interrupt numbers with the physical interrupt numbers and performs the hardware access utilizing the guest I/O resources.
- the virtual machine monitor 24 provides, as I/O resource, a common memory 2 - 3 where an I/O request is written and a mechanism that notifies the I/O request and includes event numbers and a notification interface.
- the guest OS 22 - 1 in FIG. 14 uses not a driver that performs regular hardware access but a driver 22 A that is referred to as “frontend” and is specialized for a guest OS.
- a backend driver 36 of the host OS 20 processes the request from the frontend driver 22 A and operates a real I/O driver (program) 34 .
- the guest OS 22 - 1 writes the I/O requests into the common memory 2 - 3 in the I/O issuance operations.
- the guest OS 22 - 1 performs an I/O issuance notification to the virtual machine monitor 24 .
- the virtual machine monitor 24 performs the I/O issuance notification to the host OS 20 or the driver OS.
- the host OS 20 or the driver OS receives the I/O issuance notification and refers to the contents of the common memory 2 - 3 .
- the host OS 20 or the driver OS issues a real I/O according to the contents of the common memory 2 - 3 .
- the host OS 20 or the driver OS writes the result of the real I/O into the common memory 2 - 3 .
- the host OS 20 or the driver OS performs an I/O completion notification to the virtual machine monitor 24 .
- the virtual machine monitor 24 performs the I/O completion notification to the guest OS 22 - 1 .
- the guest OS 22 - 1 receives the result of I/O from the common memory 2 - 3 after reception of the I/O completion notification from the virtual machine monitor 24 .
- the termination processing in the guest OS is described with reference to FIG. 16 .
- the guest physical memory (see FIG. 10 ) is freed up and the memory management table that associates the guest physical memory with the real physical memory is freed up.
- the virtual machine instances (the virtual CPU, etc.) are freed up by the device emulator 32 of the host OS 20 .
- the startup/termination of the guest OS, the memory access, and the I/O access are performed in the virtual machine.
- FIG. 17 illustrates a functional block diagram of software in a virtual machine system according to another embodiment.
- FIG. 18 illustrates an explanatory diagram of a driver OS and the guest OS in FIG. 17 .
- the host OS that includes the driver function is described.
- a driver OS 28 that controls an I/O device as well as a host OS 20 is provided as illustrated in FIG. 17 .
- the driver 28 performs real I/O control.
- Each guest OS 22 - 1 to 22 - 4 may perform I/O when each of the guest OS asks the driver OS 28 to perform the I/O
- the driver OS 28 may operate on the host OS 20 and the guest OS 22 - 1 as well. When the driver OS 28 operates on a guest OS, the corresponding guest OS functions as the driver OS 28 .
- a storage device 7 and network 8 such as a LAN in FIG. 2 are provided with the driver OS 28 respectively, and the host OS 20 drives guest OS operation KVM, that is, a keyboard 13 - 0 , a mouse 14 - 0 , and a VGA display 12 - 0 .
- each of the guest OS 22 - 1 to 22 - 4 includes a frontend driver 22 A
- the driver OS 28 includes a backend driver 36 .
- the frontend driver 22 A and the backend driver 36 perform I/O data transfer operations between the guest OS 22 - 1 and the driver OS 28 .
- the guest OS operation KVM that is, the keyboard 13 - 0 , mouse 14 - 0 , and VGA display 12 - 0 may be provided with the driver OS 28 respectively.
- the load of the host OS 20 may be reduce and high-speed operational environment may be provided because the driver OS is utilized in the embodiment.
- FIG. 19 illustrates an explanatory diagram of a virtual machine according to another embodiment.
- composing elements the same as FIG. 8 are denoted with a same symbol.
- the corresponding guest OS startup/termination processing with the authentication function using the keyboards 13 - 0 to 13 - 2 are similar processing to the processing illustrated in FIGS. 6 to 8 , and description of the processing is omitted herein.
- the input/output operations are performed directly by the guest OS with the displays 12 - 0 to 12 - 2 , the keyboards 13 - 0 to 13 - 2 , and the mouses 14 - 0 to 14 - 2 .
- Such method replaces a hardware resource function of the virtual machine monitor 24 with not software but a CPU or a chipset, and is referred to as “Virtualization Technology for Directed I/O (VT-d).”
- the detail description of the VT-d is omitted herein because the detail description of the VT-d on internet, URL: http://www.atmarkit.co.jp/fsys/kaisetsu/085intelvt/intelvt.html, has been known.
- the function allows the virtual machine to reduce the occurrence of overhead and to perform in higher-speed operational environment.
- the bus adapter is described with the USB controller, the USB port, and the USB hub above.
- another bus adapter such as a Peripheral Component Interface bus (PCI) may be employed.
- PCI Peripheral Component Interface bus
- any combinations of one or more of the described features, functions, operations, and/or benefits can be provided.
- a combination can be one or a plurality.
- the embodiments can be implemented as an apparatus (a machine) that includes computing hardware (i.e., computing apparatus), such as (in a non-limiting example) any computer that can store, retrieve, process and/or output data and/or communicate (network) with other computers.
- computing hardware i.e., computing apparatus
- the described features, functions, operations, and/or benefits can be implemented by and/or use computing hardware and/or software.
- the apparatus can comprise a controller (CPU) (e.g., a hardware logic circuitry based computer processor that processes or executes instructions, namely software/program), computer readable media, transmission communication interface (network interface), and/or an output device, for example, a display device, all in communication through a data communication bus.
- a controller e.g., a hardware logic circuitry based computer processor that processes or executes instructions, namely software/program
- computer readable media e.g., a hardware logic circuitry based computer processor that processes or executes instructions, namely software/program
- transmission communication interface network interface
- an output device for example, a display device, all in communication through a data communication bus.
- an apparatus can include one or more apparatuses in computer network communication with each other or other apparatuses.
- a computer processor can include one or more computer processors in one or more apparatuses or any combinations of one or more computer processors and/or apparatuses.
- An aspect of an embodiment relates to causing one
- a program/software implementing the embodiments may be recorded on a computer-readable media, e.g., a non-transitory or persistent computer-readable medium.
- a computer-readable media e.g., a non-transitory or persistent computer-readable medium.
- the non-transitory computer-readable media include a magnetic recording apparatus, an optical disk, a magneto-optical disk, and/or volatile and/or non-volatile semiconductor memory (for example, RAM, ROM, etc.).
- Examples of the magnetic recording apparatus include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT).
- HDD hard disk device
- FD flexible disk
- MT magnetic tape
- optical disk examples include a DVD (Digital Versatile Disc), DVD-ROM, DVD-RAM (DVD-Random Access Memory), BD (Blue-ray Disk), a CD-ROM (Compact Disc-Read Only Memory), and a CD-R (Recordable)/RW.
- the program/software implementing the embodiments may be transmitted over a transmission communication path, e.g., a wire and/or a wireless network implemented via hardware.
- a transmission communication path e.g., a wire and/or a wireless network implemented via hardware.
- An example of communication media via which the program/software may be sent includes, for example, a carrier-wave signal.
- the term “or” is intended to mean an inclusive “or” rather than an exclusive “or”. That is, unless specified otherwise, or clear from the context, the phrase “X employs A or B” is intended to mean any of the natural inclusive permutations. That is, the phrase “X employs A or B” is satisfied by any of the following instances: X employs A; X employs B; or X employs both A and B.
- the articles “a” and “an” as used in this application and the appended claims should generally be construed to mean “one or more” unless specified otherwise or clear from the context to be directed to a singular form.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A client system using a virtual machine includes: a physical server that includes a CPU, a memory, a bus, and a plurality of bus adapters, manages a plurality of guest OS by a host OS, and operates as a virtual machine. A plurality of input and output units are coupled to the plurality of bus adapters of the physical server respectively. A host OS of the physical server includes a configuration definition table that stores identification numbers of the input and output units in correspondence to guest OSs used by the input and output units. The host OS notifies a guest OS corresponding to an input unit of input instruction information from the input units with reference to the configuration definition table and outputs a processing result of a guest OS to an output unit corresponding to the guest OS.
Description
This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2010-6671, filed on Jan. 15, 2010, the entire contents of which are incorporated herein by reference.
Embodiments discussed herein relate to a client system, a client control method, and a computer-readable recording medium configured to store a client control program that are performed by using a virtual machine.
Along with the spread of a personal computer in recent years, there has been increasing operational and management costs for installing or upgrading an application software, and for doing maintenance of hardware, etc. To address the reduction in the costs, thin client technology has been proposed.
In the thin client system, the operation information in the client PC 100 is sent to the server 200 through the NIC 110 and 120. The server 200 includes a CPU, a memory, and a disk device. The server 200 executes a certain application, processes the operation information, and sends back the processing results to the client PC 100. The processing results sent from the server 200 are displayed on the client PC 100. The server 200 may be a real server or a server of a guest OS that is divided by a virtual machine.
In the thin client system, the client PC 100 is provided with the CPU and the memory because the keyboard, the mouse, the VGA display, and the NIC 110 in the client PC are generally processed. However, additional processing is performed little if not zero, so that a high-performance CPU and memory are not generally employed in the client PC.
Due to the thin client system, such additional processing is performed little if not zero, so that the install, update, or the like of application software to the client PC 100 may be omitted and a power-thrifty PC may be employed as the client PC 100. In addition, leakage of information may be reduced if not prevented because the client PC 100 does not hold data.
In the virtual machine system, the server (that is, a real machine system) 200 includes a virtual machine monitor (virtualization software), a host Operating System (OS), and two or more guest OS. The host OS is provided to manage the guest OS. The virtual machine monitor controls the host OS and the guest OS by virtualization technology.
The related systems are discussed as followed:
Non-Patent Document 1, “Thin client”, Incept Inc., Web site, Nov. 18, 1999, URL: http://e-words.jp/w/E382B7E383B3E382AFE383A9E382A4E382A2E383B3E38388.html, searched on Aug. 24, 2009.
In the conventional configuration, the thin client system may employ a power-thrifty PC, causing energy savings as a whole. However, in the conventional thin client system, the client PC generally includes the CPU and the memory because the processing capability to process the keyboard, the mouse, the VGA display, and the NIC 110 operations is desired in the client PC.
In the electricity consumption of the PC, it is generally said that the CPU consumes about 30% of the total electricity and the power source consumes about 40% of the total electricity. Thus the energy saving in the PC may be limited and the further reduction in the electricity consumption of the PC may be difficult. In addition, in the thin client system using two or more client PC in the office, etc., each of the client PC generally includes the CPU and memory, so that further cost reduction may be difficult.
In view of the foregoing, according to an embodiment of the present invention, a client system, a client control method, and a computer-readable recording medium is configured to store a client control program that uses the virtual machine and that may perform the energy saving in the PC using the virtualization technology.
A client system using a virtual machine includes: a physical server that includes a CPU, a memory, a bus, and a plurality of bus adapters, manages a plurality of guest OS by a host OS, and operates as a virtual machine; and a plurality of input and output units that are coupled to the plurality of bus adapters of the physical server respectively. The host OS of the physical server includes a configuration definition table that stores identification numbers, in the bus components and corresponding to the plurality of guest OS, of the input and output units using the guest OS, and the host OS notifies the guest OS corresponding to the input unit of input instruction information from the input units with reference to the configuration definition table and outputs a processing result of the guest OS to the output unit corresponding to the guest OS.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
The embodiments are described below in the order of a client system using a virtual machine, client processing by the virtual machine, processing of the virtual machine and another embodiment. However, the client system is not limited to the embodiments.
[The Client System Using the Virtual Machine]
As illustrated in FIG. 1 , a physical server 10 may include two or more Universal Serial Bus (USB) ports (for example, four USB ports in FIG. 1 ). Two or more desks (for example, four desks in FIGS. 1 ) 15-0 to 15-3 may be provided with mouses 14-0 to 14-3, keyboards 13-0 to 13-3, and displays (VGA displays) 12-0 to 12-3 respectively.
The USB port in the physical server 10 is coupled to at least one of two or more USB hubs (for example, four USB hubs in FIGS. 1 ) 11-0 to 11-3. The USB hubs 11-0 to 11-3 are coupled to any type of corresponding USB input/output devices, for example, mouses 14-0 to 14-3, keyboards 13-0 to 13-3, and VGA displays 12-0 to 12-3 respectively.
Each of the mouses 14-0 to 14-3, keyboards 13-0 to 13-3, and VGA displays 12-0 to 12-3 operate as the USB device of the physical server 10. In this case, the mouses, keyboards, and VGA displays are coupled to the physical server 10 through the USB hubs respectively as illustrated in FIG. 1 because the number of USB ports of the physical server 10 is limited. However, the USB hubs may be omitted when there are enough USB ports available in the physical server 10 or when the number of clients coupled to the physical server 10 is small.
The USB devices are provided with USB identification numbers (for example, “USB XXX” as illustrated in FIG. 1 ), and a tree indicating a connection configuration among the USB components is created as illustrated in FIG. 4 .
The physical server 10 is described below with reference to FIG. 2 . As illustrated in FIG. 2 , the physical server 10 includes a real machine 1 and peripheral devices 5 to 7. The real machine 1 employs one or more CPU/memories 2, a Host Bus Adapter (HBA) 3 including a USB controller, and a Network Interface Card (NIC) 4 as hardware.
The HBA 3 is coupled to the storage device 7 (for example, a disk device) through the switch 5 (hereinafter also referred to as a Fibre Channel (FC) switch). The NIC 4 is coupled to Local Area Network (LAN) 8 through a net switch 6. The USB controller that is included in the HBA 3 and is coupled to USB ports 3-1 to 3-4 as illustrated in FIG. 3 .
When virtualization software (Hypervisor) described in FIG. 3 is installed in a actual machine, the physical server 10 may function as two or more virtual servers 9 to the physical hardware. As illustrated in FIG. 3 , for example, the virtualization software (Hypervisor) causes the CPU/memory 2 to function as the virtual server and causes the relationship between the physical server 10 and Input/Output (I/O) devices including the FC switch 5, the storage device 7, and the net switch 6 to virtualize.
The allocation and change of the I/O resources to the server, and the replacement of the server may be simplified by, for example, virtualization of the I/O adapter connection between the switch and the virtual machine, virtualization of address of the HBA 3 and NIC 4, and setting of the access right of the I/O devices including the FC switch 5, the storage device 7, and the net switch 6.
The virtualization software in the virtual machine (VM) system is described below with reference to FIG. 3 . As illustrated in FIG. 3 , the virtual machine monitor (Hypervisor) 24 is included in the layer where the whole VM system is controlled, and divides the physical resources such as the CPU/memory 2, the NIC 4, the net switch 6, the FC switch 5, and the storage device 7 into virtual resources. The virtual machine monitor 24 performs the allocation of the resource to each OS on the divided virtual resource basis, the dispatch of each of the OS, the emulation of privileged instructions executed by each of the OS, and the hardware control to the CPU. For example, VMware (trade name), Hyper V (trade name), Xen (trade name), or the like may be employed as the virtual machine monitor 24.
A host OS 20 functions as a domain OS, operates the whole VM system, and manages the guest OS 22-1 to 22-4. For example, the host OS 20 is started-up automatically when the VM system is booted, controls the startup/termination of the driver OS and the guest OS. The guest OS 22-1 to 22-4 are OS that are not provided with a real I/O in the VM configuration and may employ a known OS such as Linux (registered trademark) or Windows (registered trademark).
As illustrated in FIG. 3 , the hardware (referred to as physical server in FIGS. 1 and 2 ) 10 includes the USB ports 3-1 to 3-4. The USB devices for guest operation include each of the mouses 14-0 to 14-3, the keyboards 13-0 to 13-3, and the VGA displays 12-0 to 12-3 respectively and are coupled to the USB ports 3-1 to 3-4 through the USB hubs 11-0 to 11-3 respectively.
The host OS 20 includes the guest OS configuration definition table 26 that associates the USB devices with the guest OS 22-1 to 22-4, and a guest management program 30 that controls the guest OS with reference to a guest OS configuration definition table 26.
The guest OS configuration definition table 26 and the guest management program 30 are described below with reference to FIGS. 4 and 5 . The startup operation in the guest OS is performed using the keyboards 13-0 to 13-3 in each of the clients. In the real machine, the power of the machine is supplied when the power button of the PC is operated. In the VM system, the startup operation of the guest OS is generally operated from the host OS 20.
In the conventional connection configuration of the VM system, a network function is generally used because the login to the host OS is generally performed when the host OS is operated. Therefore, an OS function is desired for the use of the network function, causing the client to employ a CPU.
In the embodiment, the host OS 20 is provided with a function that associates USB tree with the guest OS, and is operated without including a CPU and an OS in the client. Thus, the host OS 20 manages which of the guest OS 22-1 to 22-4 is associated with a USB device and a guest OS operates in response to a USB device. According to an aspect of an embodiment, a device communication interface or specification, other than the USB specification can be used, that enables a host to interface with a device, which does not have processing (hardware and/or software) capabilities for executing functions to interface with a host OS, based upon a device number assigned to the device and an established data channel to the device.
That is to say, the USB tree is structured for enabling recognition of which guest OS being operated from a certain USB device such as the keyboard or mouse. As illustrated in FIG. 4 , the USB tree indicates the connections among USB components and has a tree structure to couple the USB ports 3-1 to 3-4 to the USB hubs 11-0 to 11-3 to the USB devices including the keyboards 13-0 to 13-3, the mouses 14-0 to 14-3, the VGA displays 12-0 to 12-3 respectively. In the USB tree structure, “USB XXX” is illustrated as the USB identification numbers in FIG. 4 .
The USB tree is associated with the guest OS. For example, the guest OS 22-1 is associated with a first USB tree to couple the USB port 3-1 to the USB hub 11-0 to the USB devices including the keyboard 13-0, the mouse 14-0, and the VGA display 12-0. In addition, the guest OS 22-4 is associated with a fourth USB tree to couple the USB port 3-4 to the USB hub 11-3 to the USB devices including the keyboard 13-3, the mouse 14-3, and the VGA display 12-3.
As illustrated in FIG. 5 , the guest OS configuration definition table 26 stores a correspondence table that indicates the association of the USB ports with the guest OS. The correspondence table allows the host OS 20 to associate the I/O instruction information to/from the USB ports 3-1 to 3-4 with the guest OS 22-1 to 22-4 respectively.
For example, in FIG. 5 , the guest OS configuration definition table 26 is, on the guest OS basis, provided with items such as a guest OS name, a guest OS operation/display USB device number, a guest OS startup key (described later), and a guest OS forcible termination key (described later). In FIG. 5 , according to the FIG. 4 , USB hub 11-0 “USB00”, keyboard 13-0 (USB device) “USB000”, mouse 14-0 (USB device) “USB001”, and VGA display 12-0 (USB device) “USB002” are stored as items associated with a first guest OS 22-1 “guest_OS—001” in the guest OS configuration definition table 26.
The two or more guest OS may share the use of the USB hub. Another USB device such as an external USB memory in addition to the keyboard 13-0, the mouse 14-0, and the VGA display 12-0 may be associated with the guest OS because the USB device numbers are associated with the guest OS.
In the VM system, the startup of the guest OS is generally operated from the host OS 20. In addition, the startup of the guest OS by another person is desired to be prevented. That is, the startup of the guest OS by another person without permission when the person who owns the guest OS is away is desired to be prevented. Thus, in the VM system, an authentication of the association of an operator with a guest OS is desired.
Therefore, the host OS 20 includes a function that identifies the operator who has performed the startup operation of the guest OS as the operator allowed to operate the guest OS. Without the function, when the guest OS in a state of termination is operated with a certain keyboard by an operator, the operator may deliberately or accidentally start-up the guest OS that is even not owned by the operator, causing undesirably security vulnerability. In the embodiment, an authentication function for the startup of the guest OS may be employed.
In the embodiment, the authentication function is employed that causes the guest OS to start-up when the guest OS startup key that is set in the correspondence table of the guest OS configuration definition table 26 included in the host OS 20 coincides with the certain key (startup character string) inputted by the operator. In the example of FIG. 5 , the certain startup character string to the first guest OS, e.g., guestOS1_act_key=guestOS1_PowerON_hooHOO (23 characters), is defined and stored in the guest OS startup key section of the guest configuration definition table 26.
When the defined startup character string has been inputted from the keyboard that is coupled to the USB port associated with a certain guest OS, the host OS 20 recognizes that the operator who has inputted the defined startup character string is entitled to the startup operation of the guest OS, and the host OS 20 starts-up the guest OS.
In the embodiment, the forcible termination of the guest OS is performed by guest OS operation KVM, that is, the keyboard 13-0, mouse 14-0, and VGA display 12-0. In the real machine, when an OS hangs-up and then a computer keyboard command such as “CTRL+ALT+DELETE” is denied, the power supply of the PC is cut by pressing and holding the power button down.
On the other hand, in the VM system, the forcible termination operation of the guest OS in addition to the startup operation is generally performed from the host OS 20. Thus, in the embodiment, the authentication function is employed that causes the guest OS to forcibly terminate when the guest OS forcible termination key that is set in the correspondence table of the guest OS configuration definition table 26 in the host OS 20 coincides with the certain key (forcible termination character string) inputted by the operator.
In the example of FIG. 5 , the certain forcible termination character string to a given guest OS, e.g., guestOS1_poff_key=guestOS1_POFf_hooHOO (20 characters) is defined and stored in the guest OS forcible termination key section of the guest OS configuration definition table 26.
As with the above-described startup processing, when a defined forcible termination character string has been inputted from the keyboard that is coupled to the USB port associated with the guest OS, the host OS 20 forcibly terminates the guest OS. The similar method to the method of inputting the forcible termination character string may be applied to a dump sampling, that is a Non-maskable Interrupt (NMI) button in the real machine (see the website, http://ja.wikipedia.org/wiki/%E5%89%B2%E3%82%8A%E8%BE%BC%E3%81%BF), forcible reboot of the guest OS, or the like, in addition to the forcible termination of the guest OS.
Moreover, when an input operation from a keyboard or mouse is performed, the host OS identifies the guest OS associated with the keyboard or mouse used for the input operation with reference to the guest OS configuration definition table 26, and the input instruction information is processed by the identified guest OS. In addition, when a guest OS performs description on a VGA display, in the same way, the USB device to be used for the description is identified with reference to the guest OS configuration definition table 26, and the description is performed on the identified USB device.
The startup/termination and normal operational state of the guest OS are described with reference to FIG. 3 .
(1) The request for the startup/termination of the guest OS 22-1 is performed by inputting the certain key from the guest OS operation keyboard 13-0.
(2) According to the request for the startup/termination from the guest OS operation keyboard 13-0, a keyboard interrupt from the USB port 3-1 occurs in the host 20, and the guest management program 30 in the host OS 20 accepts the request.
(3) The guest management program 30 in the host OS 20 determines whether or not that the USB port where the request for the startup/termination of the guest OS 22-1 is inputted and the inputted key are associated with the guest OS defined in the guest OS configuration definition table 26.
(4) When the host OS 20 determines that the USB port and the inputted key are associated with the defined guest OS, the request for the startup/termination of the guest OS 22-1 is notified to the virtual machine monitor (Hypervisor) 24.
(5) The virtual machine monitor (Hypervisor) 24 performs the startup/termination of the guest OS 22-1 according to the notification from the host OS 20.
(6) The guest OS 22-1 is operated from the guest OS operation KVM, that is, the keyboard 13-0, mouse 14-0, and VGA display 12-0 after the startup of the guest OS 22-1.
As described above, the input units including the keyboard and mouse and the VGA display are coupled to the USB ports of the physical server 10 as USB devices, and the server 10 includes a virtual machine. The guest OS may be operated by using each of the input units/VGA displays in the server 10 because the host OS 20 identifies the guest OS associated with each of the input units/VGA displays. Thus, a client PC may be used by a user without a CPU and memory, causing the energy saving of the client PC.
In addition, a function to associate the USB tree with the guest OS is included in the host OS 20, so that the connection of the USB devices with the virtual server may be performed simply by adding guest OS control processing without remodeling the guest OS and the virtual machine monitor. As a result, the host OS are generally performed with a CPU/memory, while the client PC may be performed without the CPU/memory. Moreover, the guest OS may be applied to the client system without limitation of the kind of the guest OS because the guest OS is employed without modification in the client system.
Each of the guest OS is generally provided with a keyboard, a mouse, and a display. That is, the guest OS may be performed without a CPU, a memory, a hard disk, and an installed OS that are included in the client of the conventional thin client system. As a result, the client PC that is low price and saves electric power may be applied to the client system according to the embodiment.
In the client system, the user may use the similar functions to the functions in the real machine such as the forcible termination, the dump sampling, and the reboot because the operations that may be performed in the real machine may be defined in the host OS 20.
In the configuration of the client system, the function that identifies the operator allowed to operate the guest OS is included in the host OS 20, so that the security vulnerability may be reduced if not prevented.
In addition, in the client system, the function that starts-up and forcibly terminates the guest OS is included in the host OS 20, so that the user may execute an application utilizing the guest OS without awareness of the processing of the host OS 20.
In the client system, the USB tree is associated with the guest OS in the host OS 20, so that functions that causes the guest OS to process the input instruction information from the keyboard and mouse and displays the VGA output from the guest OS on the desired display are included in the system. As a result, the user may execute an application utilizing the guest OS without awareness of the processing of the host OS 20.
[The Client Processing by the Virtual Machine]
Management operations of the guest OS management program in the host OS 20 in FIGS. 6 and 7 is described below with reference to the FIG. 8 .
(Operation S10)
When the host OS 20 is started-up, the host OS 20 identifies the USB tree of the real machine. That is, the host OS 20 obtains each of the numbers of the USB devices that have connections among the USB tree, compares the numbers with the contents registered in the guest OS configuration definition table 26, and identifies each of the USB devices that have connections among the USB tree. In addition, the host OS 20 manages the association of the USB devices with the corresponding guest OS respectively with reference to the association of the USB tree in the guest OS configuration definition table 26 with the corresponding guest OS after identifying each of the USB devices.
(Operation S12)
The host OS 20 waits for the guest OS startup operation from the keyboard. When the host OS 20 accepts the input from the keyboard through the USB port, the host OS 20 refers to the guest OS configuration definition table 26 with the USB number of the keyboard where the input operation has been performed, and identifies the guest OS corresponding to the keyboard.
(Operation S14)
The host OS 20 determines that whether or not the character string inputted from the keyboard coincides with the startup key defined by the guest OS in the guest OS configuration definition table 26, and identifies the startup operation by the operator allowed to operate the guest OS based on the determined result. When the inputted character string does not coincide with the startup key, the host OS 20 displays an error message on the display corresponding to the keyboard and the flow returns to Operation S12.
(Operation S16)
When the character string inputted from the keyboard coincides with the defined startup key in the guest configuration definition table 26, the host OS 20 causes the guest OS 22-1 that has been successfully authenticated to start-up through the virtual machine monitor 24 as illustrated by arrow A in FIG. 8 . The guest OS boots and starts-up.
(Operation S18)
The host OS 20 waits for a display output from the guest OS or an input from a keyboard or mouse. When the host OS 20 accepts the input, the host OS 20 determines that whether or not the input is operated from a keyboard based on the USB number of the USB device where the input operation has been performed. When the input is not operated from a keyboard, the flow proceeds to Operation S24 in FIG. 7 .
(Operation S20)
When the host OS 20 determines that the input is operated from a keyboard, the host OS 20 determines that the character string inputted from the keyboard coincides with the forcible termination key that is defined by the guest OS and stored in the guest OS configuration definition table 26. When the host OS 20 determines that the inputted character string coincides with the forcible termination key, the host OS 20 causes the guest OS corresponding to the forcible termination key to terminate forcibly as illustrated by arrow D in FIG. 8 . After that the flow returns to Operation S12.
(Operation S22)
When the host OS 20 determines that the inputted character string does not coincide with the forcible termination key, the host OS 20 notifies the guest OS 22-1 corresponding to the keyboard where the character string has been inputted of the keyboard instruction information through the virtual machine monitor 24 as illustrated by arrow B in FIG. 8 . After that, the flow returns to Operation S18.
(Operation S24)
When the host OS 20 determines the input is not operated from a keyboard in Operation S18, the virtual machine monitor 24 restores the time of dispatch. After that, the host OS 20 determines whether or not the input is operated from a mouse based on the USB number of the USB device that has accepted the input. When the host OS 20 determines that the input is not operated from a mouse, the flow proceeds to Operation S28.
(Operation S26)
When the host OS 20 determines that the input is operated from a mouse, the host OS 20 notifies the guest OS 22-1 corresponding to the mouse that has been operated of the mouse instruction information through the virtual machine monitor 24 as illustrated by arrow B in FIG. 8 . After that, the flow returns to Operation S18.
(Operation S28)
When the host OS 20 determines that the input is not operated from a mouse, the host OS 20 identifies the display output from the guest OS. After that, the host OS 20 outputs screen data on a physical display corresponding to the guest OS as illustrated by arrow C in FIG. 8 , and the flow returns to Operation S18.
The host OS 20 notifies the guest OS of the keyboard or mouse input instruction information with reference to the guest OS configuration definition table 26 to cause the guest OS to process the keyboard or mouse input instruction information.
The client system according to the embodiment may be performed simply by employing a certain host OS without modification of the guest OS or the virtual machine monitor because the host OS 20 is provided with the guest management program 30 including an authentication unit 30-1, a guest OS startup/termination unit 30-2, and a guest KVM processing unit 30-3, and the guest OS configuration definition table 26 as described above. In addition, the guest OS may be applied to the client system without limitation of the kind of the guest OS because the guest OS is employed without modification in the client system.
[The Processing of the Virtual Machine]
The processing of the virtual machine is described below. FIG. 9 illustrates an explanatory diagram of startup processing of the guest OS according to the embodiment. FIG. 10 illustrates an explanatory diagram of the allocation of the physical memory in FIG. 9 . FIG. 11 illustrates an explanatory diagram of the address conversion between the real physical address and the guest physical address in FIG. 10 . FIGS. 12 and 13 illustrate explanatory diagrams according to a first embodiment in the I/O resource allocation in FIG. 9 . FIGS. 14 and 15 illustrate explanatory diagrams according to a second embodiment in the I/O resource allocation in FIG. 9 . FIG. 16 illustrates an explanatory diagram of termination processing of the guest OS according to the embodiment.
The startup processing of the guest OS is described with reference to FIG. 9 .
(1) When the startup of the guest OS is instructed from the host OS 20, a device emulator 32 creates the virtual machine instances (a virtual CPU, a guest physical memory, a virtual device, etc.) and initializes each resource.
(2) The virtual machine monitor 24 creates a memory management table to associate a guest physical memory with a real physical memory as described in FIGS. 10 and 11 later.
(3) In addition, the virtual machine monitor 24 creates an I/O management table to associate a guest physical I/O with a real physical I/O as described in FIGS. 12 to 15 later.
(4) The virtual machine monitor 24 registers a virtual CPU on a virtual CPU scheduler.
(5) The virtual machine monitor 24 registers the virtual CPU instances created in “Operation (1)” on the virtual CPU scheduler and executes the virtual CPU within the virtual machine monitor 24.
The allocation of the physical memory for creating the memory management table is described with reference to FIGS. 10 and 11 . When the host OS 20 and a driver OS (described later) are provided, the virtual machine monitor 24 manages a physical memory space 2-2 allocated to the driver OS and the guest OS and controls a memory access that is performed by each of the driver OS and guest OS. For example, as illustrated in FIG. 10 , the virtual machine monitor 24 allocates the physical memory space 2-2 to the virtual machine monitor, the host OS 20, the driver OS, and the guest OS.
The guest OS specifies a guest physical address and performs the memory access. As illustrated in FIG. 11 , the virtual machine monitor 24 converts the guest physical address into the real physical address and performs the actual memory access. The virtual machine monitor 24 creates the memory management table to perform such address conversion.
The guest OS may operate within the memory space allocated by the virtual machine monitor 24. The virtual machine monitor 24 may operate within the memory space allocated to the virtual machine monitor. In addition, the virtual machine monitor 24 may be allowed to access other memory spaces. The host OS 20 and the driver OS may access certain memory spaces when the virtual machine monitor 24 allows the access.
The allocation of the I/O resources in the I/O management table is described with reference to FIGS. 12 to 15 . I/O access methods are as followed:
(1) A method of utilizing a driver that is used when a regular OS controls physical hardware, on the guest OS.
(2) A method of controlling physical hardware using a certain protocol between the guest OS and the host OS 20 or the guest OS and the driver OS, that is, a method of using frontend and backend drivers.
In the case of the method (1), when the I/O access is performed, the guest OS performs hardware access by utilizing a guest I/O resource. The virtual machine monitor 24 converts the guest I/O resource into a real physical I/O resource and performs the actual hardware access. FIG. 12 illustrates an interrupt number management table that associates guest interrupt numbers (numbers of a keyboard, a disk, network, and the like) with physical interrupt numbers (physical numbers of the keyboard, the disk, the network, and the like). FIG. 13 illustrates a device memory (Memory-mapped I/O (MMIO), Port-mapped I/O (PMIO), etc.) management table that associates guest interrupt numbers (numbers of memories/registers of a keyboard, a disk, network, and the like) with physical interrupt numbers (physical numbers of the memories/registers of the keyboard, the disk, the network, and the like).
When the I/O access is performed, the guest OS converts the numbers mutually among the created I/O management table that associates the guest interrupt numbers with the physical interrupt numbers and performs the hardware access utilizing the guest I/O resources.
The method (2) that uses the frontend and backend drivers is described below. As illustrated in FIGS. 14 and 15 , the virtual machine monitor 24 provides, as I/O resource, a common memory 2-3 where an I/O request is written and a mechanism that notifies the I/O request and includes event numbers and a notification interface.
The guest OS 22-1 in FIG. 14 uses not a driver that performs regular hardware access but a driver 22A that is referred to as “frontend” and is specialized for a guest OS. A backend driver 36 of the host OS 20 processes the request from the frontend driver 22A and operates a real I/O driver (program) 34.
The processing of the frontend driver 22A and the backend driver 36 in I/O issuance operations is described with reference to FIGS. 14 and 15 .
(1) As illustrated in FIG. 14 , the guest OS 22-1 writes the I/O requests into the common memory 2-3 in the I/O issuance operations.
(2) The guest OS 22-1 performs an I/O issuance notification to the virtual machine monitor 24.
(3) The virtual machine monitor 24 performs the I/O issuance notification to the host OS 20 or the driver OS.
(4) The host OS 20 or the driver OS receives the I/O issuance notification and refers to the contents of the common memory 2-3.
(5) The host OS 20 or the driver OS issues a real I/O according to the contents of the common memory 2-3.
(6) As illustrated in FIG. 15 , the host OS 20 or the driver OS writes the result of the real I/O into the common memory 2-3.
(7) The host OS 20 or the driver OS performs an I/O completion notification to the virtual machine monitor 24.
(8) The virtual machine monitor 24 performs the I/O completion notification to the guest OS 22-1.
(9) The guest OS 22-1 receives the result of I/O from the common memory 2-3 after reception of the I/O completion notification from the virtual machine monitor 24.
The termination processing in the guest OS is described with reference to FIG. 16 .
(1) When the virtual machine monitor 24 receives an instruction for the termination of the guest OS from the host OS 20, the virtual CPU is terminated in the virtual machine monitor 24.
(2) The virtual CPU that is terminated in Operation (1) is removed from a virtual CPU scheduler in the virtual machine monitor 24
(3) The virtual devices are freed up and the I/O management table that associates the guest I/O with the real physical I/O is freed up.
(4) The guest physical memory (see FIG. 10 ) is freed up and the memory management table that associates the guest physical memory with the real physical memory is freed up.
(5) The virtual machine instances (the virtual CPU, etc.) are freed up by the device emulator 32 of the host OS 20.
Thus, the startup/termination of the guest OS, the memory access, and the I/O access are performed in the virtual machine.
[Another Embodiment]
In the foregoing embodiment, the host OS that includes the driver function is described. On the other hand, in another embodiment, a driver OS 28 that controls an I/O device as well as a host OS 20 is provided as illustrated in FIG. 17 . The driver 28 performs real I/O control. Each guest OS 22-1 to 22-4 may perform I/O when each of the guest OS asks the driver OS 28 to perform the I/O
The driver OS 28 may operate on the host OS 20 and the guest OS 22-1 as well. When the driver OS 28 operates on a guest OS, the corresponding guest OS functions as the driver OS 28. In FIG. 17 , a storage device 7 and network 8 such as a LAN in FIG. 2 are provided with the driver OS 28 respectively, and the host OS 20 drives guest OS operation KVM, that is, a keyboard 13-0, a mouse 14-0, and a VGA display 12-0.
As illustrated in FIG. 18 , each of the guest OS 22-1 to 22-4 includes a frontend driver 22A, and the driver OS 28 includes a backend driver 36. As illustrated in FIGS. 9 to 15 , the frontend driver 22A and the backend driver 36 perform I/O data transfer operations between the guest OS 22-1 and the driver OS 28. In addition, the guest OS operation KVM, that is, the keyboard 13-0, mouse 14-0, and VGA display 12-0 may be provided with the driver OS 28 respectively.
The load of the host OS 20 may be reduce and high-speed operational environment may be provided because the driver OS is utilized in the embodiment.
In the embodiment of FIG. 19 , the input/output operations are performed directly by the guest OS with the displays 12-0 to 12-2, the keyboards 13-0 to 13-2, and the mouses 14-0 to 14-2. Such method replaces a hardware resource function of the virtual machine monitor 24 with not software but a CPU or a chipset, and is referred to as “Virtualization Technology for Directed I/O (VT-d).” The detail description of the VT-d is omitted herein because the detail description of the VT-d on internet, URL: http://www.atmarkit.co.jp/fsys/kaisetsu/085intelvt/intelvt.html, has been known.
The function (chipset) allows the virtual machine to reduce the occurrence of overhead and to perform in higher-speed operational environment.
The bus adapter is described with the USB controller, the USB port, and the USB hub above. Alternatively, another bus adapter such as a Peripheral Component Interface bus (PCI) may be employed.
According to an aspect of the embodiments of the invention, any combinations of one or more of the described features, functions, operations, and/or benefits can be provided. A combination can be one or a plurality. The embodiments can be implemented as an apparatus (a machine) that includes computing hardware (i.e., computing apparatus), such as (in a non-limiting example) any computer that can store, retrieve, process and/or output data and/or communicate (network) with other computers. According to an aspect of an embodiment, the described features, functions, operations, and/or benefits can be implemented by and/or use computing hardware and/or software. The apparatus can comprise a controller (CPU) (e.g., a hardware logic circuitry based computer processor that processes or executes instructions, namely software/program), computer readable media, transmission communication interface (network interface), and/or an output device, for example, a display device, all in communication through a data communication bus. In addition, an apparatus can include one or more apparatuses in computer network communication with each other or other apparatuses. In addition, a computer processor can include one or more computer processors in one or more apparatuses or any combinations of one or more computer processors and/or apparatuses. An aspect of an embodiment relates to causing one or more apparatuses and/or computer processors to execute the described operations. The results produced can be output to an output device, for example, displayed on the display.
A program/software implementing the embodiments may be recorded on a computer-readable media, e.g., a non-transitory or persistent computer-readable medium. Examples of the non-transitory computer-readable media include a magnetic recording apparatus, an optical disk, a magneto-optical disk, and/or volatile and/or non-volatile semiconductor memory (for example, RAM, ROM, etc.). Examples of the magnetic recording apparatus include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT). Examples of the optical disk include a DVD (Digital Versatile Disc), DVD-ROM, DVD-RAM (DVD-Random Access Memory), BD (Blue-ray Disk), a CD-ROM (Compact Disc-Read Only Memory), and a CD-R (Recordable)/RW. The program/software implementing the embodiments may be transmitted over a transmission communication path, e.g., a wire and/or a wireless network implemented via hardware. An example of communication media via which the program/software may be sent includes, for example, a carrier-wave signal.
The invention has been described with reference to the embodiments, but many modifications may be made without departing from the spirit and scope of the invention. Accordingly, these modifications are considered to be within the scope of the invention.
Although the embodiments of the present invention are numbered with, for example, “first,” “second,” or “third,” the ordinal numbers do not imply priorities of the embodiment. Many other variations and modifications will be apparent to those skilled in the art.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the aspects of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the aspects of the invention. Although the embodiment in accordance with aspects of the present invention has been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Moreover, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or”. That is, unless specified otherwise, or clear from the context, the phrase “X employs A or B” is intended to mean any of the natural inclusive permutations. That is, the phrase “X employs A or B” is satisfied by any of the following instances: X employs A; X employs B; or X employs both A and B. In addition, the articles “a” and “an” as used in this application and the appended claims should generally be construed to mean “one or more” unless specified otherwise or clear from the context to be directed to a singular form.
Claims (10)
1. A computer system using a virtual machine for control by a client device comprising:
a physical server that includes a CPU, a memory, a bus, and a plurality of bus adapters, includes a host operating system (OS) that manages a plurality of guest OSs, and the physical server operates as a virtual machine to cause a virtual machine monitor (VMM) to divide a physical resource including at least the CPU and the memory into virtual resources, and for the VMM to allocate the physical resource to the guest OSs on the divided virtual resource basis;
a plurality of input units that are coupled to the plurality of bus adapters of the physical server respectively and are operable as client devices by users;
a plurality of output units that are coupled to the plurality of bus adapters of the physical server respectively and are as client devices by users, wherein
the host OS of the physical server includes a configuration definition table that stores identification numbers of the input and output units in correspondence with respective guest OSs used by the input and output units, and
the host OS receives and notifies a guest OS of input instruction information from an input unit that corresponds to the guest OS with reference to the configuration definition table and receives and outputs a processing result of a guest OS to an output unit that corresponds to the guest OS with reference to the configuration definition table.
2. The computer system using a virtual machine according to claim 1 , wherein:
the host OS receives a startup character string from one of the input units, determines whether a certain character string registered in the configuration definition table coincides with the startup character string, and starts-up a guest OS corresponding to the one input unit where the startup character string is input.
3. The computer system using a virtual machine according to claim 1 , wherein:
the host OS receives a forcible termination character string from one of the input units, determines whether a certain character string registered in the configuration definition table coincides with the forcible termination character string, and forcibly terminates a guest OS corresponding to the one input unit where the forcible termination character string is input.
4. The computer system using a virtual machine according to claim 1 , wherein:
a bus adapter is a USB adapter, and the input units and the output units are USB devices.
5. A client device control method using a virtual machine comprising:
causing a physical server including a CPU, a memory, a bus, and a plurality of bus adapters to:
operate as a virtual machine to cause a virtual machine monitor (VMM) to divide a physical resource including at least the CPU and the memory into virtual resources and for the VMM to allocate the physical resource to a plurality of guest operating systems (OSs) on the divided virtual resource basis; and
execute a host OS that:
manages the plurality of guest OSs,
stores a configuration table of identification numbers of input and output units operable as client devices that are coupled to each bus adapter in correspondence with respective guest OSs used by the input and output units,
receives and notifies respective guest OSs of input instruction information from the plurality of input units that correspond to the respective guest OSs with reference to the configuration definition table, and
receives and outputs a processing result of respective guest OSs to the output units that correspond to the respective guest OSs with reference to the configuration definition table.
6. The client device control method using a virtual machine according to claim 5 , wherein the host OS further:
determines whether a certain character string registered in the configuration definition table coincides with a startup character string when the host OS receives the startup character string from one of the input units; and
starts-up a guest OS corresponding to the one input unit where the startup character string is input when the startup character string coincides with the registered certain character string.
7. The client device control method using a virtual machine according to claim 5 , wherein the host OS further:
determines whether a certain character string registered in the configuration definition table coincides with a forcible termination character string when the host OS receives the forcible termination character string from one of the input units; and
forcibly terminates a guest OS corresponding to the one input unit where the forcible termination character string is input when the forcible termination character string coincides with the registered certain character string.
8. The client device control method using a virtual machine according to claim 5 , wherein the host OS further:
receives the input instruction information from the input unit and notifies a guest OS that is registered in the configuration definition table and corresponds to the input unit of the input instruction information; and
receives and outputs the processing result of the guest OS to the output unit corresponding to the guest OS registered in the configuration definition table.
9. A non-transitory computer-readable recording medium configured to store a program for providing control by a client device using a virtual machine, the program causing a physical server to execute:
a virtual machine on the physical server including a CPU, a memory, a bus, and a plurality of bus adapters, the virtual machine dividing a physical resource including at least the CPU and the memory into virtual resources and allocating the physical resource to guest operating systems (OSs) on the divided virtual resource basis; and
a host OS that:
manages the plurality of guest OSs,
stores a configuration table of identification numbers of input and output units operable as client devices that are coupled to each bus adapter in correspondence with respective guest OSs used by the input and output units,
receives and notifies respective guest OSs of input instruction information from the plurality of input units that correspond to the respective guest OSs with reference to the configuration definition table, and
receives and outputs a processing result of respective guest OSs to the output units that correspond to the respective guest OSs with reference to the configuration definition table.
10. A computer that is capable of communicating with a plurality of input and output devices as client devices, comprising:
a computer processor, a memory, a bus, and a plurality of bus adapters connectable to the input and output devices as the client devices, wherein the computer processor is configured to:
operate as a virtual machine that divides a physical resource including at least the CPU and the memory into virtual resources and allocates the physical resource to a plurality of guest operating systems (OSs) on the divided virtual resource basis; and
execute a host OS that:
manages the plurality of guest OSs,
stores a configuration table of identification numbers of the input and output units that are coupled to each bus adapter in correspondence with respective guest OSs used by the input and output units,
receives notifies respective guest OSs of input instruction information from the plurality of input units that correspond to the respective guest OSs with reference to the configuration definition table, and
receives and outputs a processing result of respective guest OSs to the output units that correspond to the respective guest OSs with reference to the configuration definition table.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010-006671 | 2010-01-15 | ||
JP2010006671A JP2011145912A (en) | 2010-01-15 | 2010-01-15 | Client system using virtual machine, client control method using the virtual machine and program for the same |
JP2010-6671 | 2010-01-15 |
Publications (2)
Publication Number | Publication Date |
---|---|
US20110179418A1 US20110179418A1 (en) | 2011-07-21 |
US8452904B2 true US8452904B2 (en) | 2013-05-28 |
Family
ID=44278498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/004,443 Expired - Fee Related US8452904B2 (en) | 2010-01-15 | 2011-01-11 | Client system, client control method, and computer-readable recording medium configured to store client control program using virtual machine for control by client device |
Country Status (2)
Country | Link |
---|---|
US (1) | US8452904B2 (en) |
JP (1) | JP2011145912A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130227177A1 (en) * | 2012-02-24 | 2013-08-29 | Samsung Electronics Co., Ltd. | Apparatus and method for verifying operating system of host device in portable terminal |
US20130318599A1 (en) * | 2012-05-25 | 2013-11-28 | Ca, Inc. | Protecting virtual machine console from misuse, hijacking or eavesdropping in cloud environments |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013024510A2 (en) * | 2011-08-16 | 2013-02-21 | Hitachi, Ltd. | Storage control apparatus |
CN102591702B (en) * | 2011-12-31 | 2015-04-15 | 华为技术有限公司 | Virtualization processing method, related device and computer system |
US9558364B2 (en) | 2012-02-23 | 2017-01-31 | Mitsubishi Electric Corporation | Computing machine, access management method, and access management program |
WO2013184099A1 (en) * | 2012-06-05 | 2013-12-12 | Empire Technology Development, Llc | Cross-user correlation for detecting server-side multi-target intrusion |
JP5725303B2 (en) * | 2012-08-10 | 2015-05-27 | コニカミノルタ株式会社 | Image forming apparatus |
US9338320B2 (en) | 2012-08-10 | 2016-05-10 | Konica Minolta, Inc. | Image forming apparatus and method of controlling the same |
JP5743108B2 (en) * | 2012-08-10 | 2015-07-01 | コニカミノルタ株式会社 | Image forming apparatus |
US8984540B2 (en) * | 2012-09-14 | 2015-03-17 | Taifatech Inc. | Multi-user computer system |
JP5941868B2 (en) * | 2013-04-18 | 2016-06-29 | 株式会社日立製作所 | Virtual computer system and I / O execution method in virtual computer |
US9348634B2 (en) | 2013-08-12 | 2016-05-24 | Amazon Technologies, Inc. | Fast-booting application image using variation points in application source code |
US10346148B2 (en) | 2013-08-12 | 2019-07-09 | Amazon Technologies, Inc. | Per request computer system instances |
US9983893B2 (en) | 2013-10-01 | 2018-05-29 | Red Hat Israel, Ltd. | Handling memory-mapped input-output (MMIO) based instructions using fast access addresses |
US9916173B2 (en) * | 2013-11-25 | 2018-03-13 | Red Hat Israel, Ltd. | Facilitating execution of MMIO based instructions |
US9424216B2 (en) * | 2014-03-14 | 2016-08-23 | International Business Machines Corporation | Ascertaining configuration of a virtual adapter in a computing environment |
US9374324B2 (en) * | 2014-03-14 | 2016-06-21 | International Business Machines Corporation | Determining virtual adapter access controls in a computing environment |
JP6743696B2 (en) * | 2014-06-12 | 2020-08-19 | 日本電気株式会社 | Computer system, remote device connection management method and program |
US9536088B1 (en) | 2015-11-09 | 2017-01-03 | AO Kaspersky Lab | System and method for protection of memory in a hypervisor |
US9846610B2 (en) | 2016-02-08 | 2017-12-19 | Red Hat Israel, Ltd. | Page fault-based fast memory-mapped I/O for virtual machines |
US10572644B2 (en) * | 2017-01-26 | 2020-02-25 | Microsoft Technology Licensing, Llc | Interacting with a computing device via identity-bearing peripheral devices |
KR102088962B1 (en) * | 2018-10-22 | 2020-03-13 | (주)시큐어가드테크놀러지 | Method for sharing USB devices under multiple operating system environments and computer readable recording medium applying the same |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11134117A (en) | 1997-10-31 | 1999-05-21 | Toshiba Corp | Computer system |
US20020171762A1 (en) | 2001-05-03 | 2002-11-21 | Mitsubishi Digital Electronics America, Inc. | Control system and user interface for network of input devices |
JP2004538680A (en) | 2001-05-03 | 2004-12-24 | ミツビシ・ディジタル・エレクトロニクス・アメリカ・インコーポレイテッド | Control system and user interface for network consisting of multiple input devices |
US20070043928A1 (en) * | 2005-08-19 | 2007-02-22 | Kiran Panesar | Method and system for device address translation for virtualization |
JP2008052407A (en) | 2006-08-23 | 2008-03-06 | Mitsubishi Electric Corp | Cluster system |
US20090240924A1 (en) * | 2008-03-24 | 2009-09-24 | Fujitsu Limited | Information processing device, information processing method, and computer product |
US20100064301A1 (en) * | 2008-09-09 | 2010-03-11 | Fujitsu Limited | Information processing device having load sharing function |
US20100115080A1 (en) * | 2008-11-06 | 2010-05-06 | Kageyama Soshi | Method of controlling the communication between a machine using private addresses and a communication device connected to a global network |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4346850B2 (en) * | 2001-01-23 | 2009-10-21 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Logically partitioned data processing system that is logically partitioned for each OS image |
JP2009176213A (en) * | 2008-01-28 | 2009-08-06 | Hitachi Software Eng Co Ltd | Network boot system |
JP5251188B2 (en) * | 2008-03-18 | 2013-07-31 | 富士通株式会社 | Information processing apparatus, information processing apparatus control method, and computer program |
-
2010
- 2010-01-15 JP JP2010006671A patent/JP2011145912A/en active Pending
-
2011
- 2011-01-11 US US13/004,443 patent/US8452904B2/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11134117A (en) | 1997-10-31 | 1999-05-21 | Toshiba Corp | Computer system |
US6205450B1 (en) | 1997-10-31 | 2001-03-20 | Kabushiki Kaisha Toshiba | Computer system capable of restarting system using disk image of arbitrary snapshot |
US20020171762A1 (en) | 2001-05-03 | 2002-11-21 | Mitsubishi Digital Electronics America, Inc. | Control system and user interface for network of input devices |
JP2004538680A (en) | 2001-05-03 | 2004-12-24 | ミツビシ・ディジタル・エレクトロニクス・アメリカ・インコーポレイテッド | Control system and user interface for network consisting of multiple input devices |
US20070043928A1 (en) * | 2005-08-19 | 2007-02-22 | Kiran Panesar | Method and system for device address translation for virtualization |
JP2008052407A (en) | 2006-08-23 | 2008-03-06 | Mitsubishi Electric Corp | Cluster system |
US20090240924A1 (en) * | 2008-03-24 | 2009-09-24 | Fujitsu Limited | Information processing device, information processing method, and computer product |
US20100064301A1 (en) * | 2008-09-09 | 2010-03-11 | Fujitsu Limited | Information processing device having load sharing function |
US20100115080A1 (en) * | 2008-11-06 | 2010-05-06 | Kageyama Soshi | Method of controlling the communication between a machine using private addresses and a communication device connected to a global network |
Non-Patent Citations (2)
Title |
---|
"Thin Client," Incept Inc., Web site, Nov. 18, 1999 [online] [Retrieved on Aug. 24, 2009] Retrieved from the Internet: (1 page), English version: (1 page). |
"Thin Client," Incept Inc., Web site, Nov. 18, 1999 [online] [Retrieved on Aug. 24, 2009] Retrieved from the Internet: <URL: http://e-words.jp/w/E382B7E383B3E382AFE383A9E382A4E382A2E383B3E38388.html> (1 page), English version: <URL: http://e-words.us/w/Thin20Client.html> (1 page). |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130227177A1 (en) * | 2012-02-24 | 2013-08-29 | Samsung Electronics Co., Ltd. | Apparatus and method for verifying operating system of host device in portable terminal |
US9189358B2 (en) * | 2012-02-24 | 2015-11-17 | Samsung Electronics Co., Ltd. | Apparatus and method for verifying operating system of host device in portable terminal |
US20130318599A1 (en) * | 2012-05-25 | 2013-11-28 | Ca, Inc. | Protecting virtual machine console from misuse, hijacking or eavesdropping in cloud environments |
US8959623B2 (en) * | 2012-05-25 | 2015-02-17 | Ca, Inc. | Protecting virtual machine console from misuse, hijacking or eavesdropping in cloud environments |
Also Published As
Publication number | Publication date |
---|---|
JP2011145912A (en) | 2011-07-28 |
US20110179418A1 (en) | 2011-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8452904B2 (en) | Client system, client control method, and computer-readable recording medium configured to store client control program using virtual machine for control by client device | |
US10185514B2 (en) | Virtual machine trigger | |
US8612633B2 (en) | Virtual machine fast emulation assist | |
Desai et al. | Hypervisor: A survey on concepts and taxonomy | |
US9747121B2 (en) | Performance optimization of workloads in virtualized information handling systems | |
JP5893029B2 (en) | How to enable hypervisor control in a cloud computing environment | |
US20130174151A1 (en) | Information processing apparatus and method of controlling virtual machine | |
US9286094B2 (en) | Human interface device virtualization using paravirtual USB system | |
US20180157519A1 (en) | Consolidation of idle virtual machines | |
KR20070100367A (en) | Method, apparatus and system for dynamically reassigning memory from one virtual machine to another | |
US20090307444A1 (en) | Systems and Methods For Virtualizing Storage For WPAR Clients Using Node Port ID Virtualization | |
KR20090100614A (en) | Virtual environment system and operating method of the system | |
US20100162243A1 (en) | Context based virtualization | |
US20190391835A1 (en) | Systems and methods for migration of computing resources based on input/output device proximity | |
US9164788B2 (en) | Apparatus and method for automatic para-virtualization of OS kernel | |
JP2022523522A (en) | High-level page management for secure interface control | |
CN113391864A (en) | Cloud desktop switching method and system | |
US9959842B2 (en) | On-screen display at thin client | |
US10567239B2 (en) | Techniques of providing data to screen saver of thin client | |
US10564918B2 (en) | Techniques of remotely providing user input to thin client | |
US10394512B2 (en) | Multi-monitor alignment on a thin client | |
CN117472805B (en) | Virtual IO device memory management system based on virtio | |
US12008264B2 (en) | Smart network interface controller host storage access | |
US11100033B1 (en) | Single-root input/output virtualization-based storage solution for software defined storage | |
JP7525234B2 (en) | Secure Interface Control Communication Interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: FUJITSU LIMITED, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:AKIO, TAKEBE;SHIMOGAWA, KENICHIROU;REEL/FRAME:025620/0327 Effective date: 20110105 |
|
CC | Certificate of correction | ||
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
REMI | Maintenance fee reminder mailed | ||
LAPS | Lapse for failure to pay maintenance fees | ||
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20170528 |