Sep 30, 2003 - computer system to support a Serv1ce VM and a Guest VM. G06F 9/455 ... The ?eld of invention relates generally to computer systems and, more ..... be used With computer system 500 include, but are not limited to, the Apple.
US007370324B2
(12)
(54)
United States Patent
(10) Patent N0.:
Goud et a].
(45) Date of Patent:
SWITCHING BETWEEN A SERVICE
7,035,963 B2 *
4/2006 Neiger et a1. ................ .. 711/6
7,082,598 B1 *
7/2006 Le et a1. ................... .. 717/127
2003/0061497 A1
Inventors: Gundrala D. Goud, Olympia, WA (US); Vincent J. Zimmer, Federal Way, WA (US); Mallik Bulusu, Olympia, WA (Us); Mark s_ Doran’ Olympia,
~
OTHER PUBLICATIONS
WA (Us); David K_ Dorwin, PuyaHup’ WA (US); Michael A Rothman, Gig Harbor
L°n_earfn;;t_t_ S _ty III _ th e IBM e S erver p S eries _ 690 , IBM OglC llOIl ecuri
_
2002.*
-
(73) Asslgnee' Notice:
3/2003 Zimmer
Jeremy Sugerman, Ganesh Venkitachalam and Beng-Hong Lim; Virtualizing I/O on VMware Workstation’s Hosted Virtual Machine (lVIonfitor; Prpceedings of the 2001 USENIX Annual Technical
’
(*)
May 6, 2008
VIRTUAL MACHINE AND A GUEST
VIRTUAL MACHINE IN A VIRTUAL MACHINE MONITOR ENVIRONMENT
(75)
US 7,370,324 B2
Andrew Whitaker, Scale and Performance in the Denali Isolation
corporatlon’ Santa Clara’ CA
Kernel, ACM SIGOPS Operating Systems Review, 2002* * cited b
examiner
Subject to any disclaimer, the term of this patent is extended or adjusted under 35
y Primary ExamineriMeng-Al T. An
U.S.C. 154(b) by 923 days.
Assistant ExamineriAbdullah-Al Kawsar 74 Allorney,A g@112, 0r FirmiBlakely, SokoloiT, Taylor &
(21) Appl. No.: 10/674,686
Zafman LLP
(22) Filed:
(57)
Sep. 30, 2003
(65)
ABSTRACT
Prior Publication Data A method and system to switch between a Service virtual
Us 2005/0081212 A1 (51)
Apr‘ 14’ 2005
machine (VM) and a Guest VM in a virtual machine monitor (VMM) of a computer system. The VMM is loaded on the . computer system to support a Serv1ce VM and a Guest VM.
Int. Cl. G06F 9/455
(2006.01)
G06F 9/46
(200601)
G06F 11/00
(200601)
(52)
US. Cl. .......................... ..
(58)
.
.
.
.
.
ThebServlele OSTIIISe Guest bootedOS1n isth]:oote Serglce during int127M e Guest VMthe; 0
pre- oot p ase.
the computer system. During OS runtime of the Guest OS,
718/1; 718/100; 714/15;
.
.
.
71405 71469
a VM sw1tch1s performed from the Guest VM to the Serv1ce
’
_
VM without rebooting the computer system. The Service OS
Field of Classi?cation Search .......... .. 7l8/lil08, _ _ 714/100’ 21 1 5 ’ 25 ’ 39
includes diagnostic tools to analyze the Guest OS‘ In one embodiment, the VM switch is performed by ?rmware of the
_
_
_
See apphcanon ?le for Complete Search hlstory' (56)
References Cited
computer system. In another embodiment, the VMM oper ates in accordance with an Extensible Firmware Interface
(EFI) framework standard. U.S. PATENT DOCUMENTS 5,437,033 A *
7/1995 Inoue et a1. ................ .. 714/10
26 Claims, 5 Drawing Sheets
SERVICE VM 1 2
GUEST VM M
SERVICE OS 106
GUEST OS 108
VIRTUAL MACHINE MONITOR (VMM) m
PLATFORM 11
U.S. Patent
May 6, 2008
Sheet 1 0f 5
US 7,370,324 B2
SERVICE VM 1 2
GUEST VM M
SERVICE OS 106
GUEST O8 108
VIRTUAL MACHINE MONITOR (VMM) m
PLATFORM 1 1
Fig. 1
U.S. Patent
May 6, 2008
Sheet 2 0f 5
US 7,370,324 B2
/ H
I
wow\ m0
mEFZD
55 5
5
_
mom\
_
_
_
_
_
_
_
_
_
_
_
wow|\
_
_
_
_
_
_
_
_
_
_
_
_
_
_
HI
I05
2m3m
5
S5
n
mg
f
0K
U.S. Patent
May 6, 2008
Sheet 3 0f 5
US 7,370,324 B2
COMPUTER SYSTEM REsET
302
LOAD VMM ENVIRONMENT
304
UNLOAD VMM AND INVOKE GUEST OS
INVOKE SERVICE OS ‘?
306
INVOKE SERVICE 05
308
PERFORM A VM SWITCH AND INVOKE GUEST 0s
310
307
312 EXECUTION OF GUEST 05