Professional Documents
Culture Documents
Virtual PC: Welcome !
Virtual PC: Welcome !
Welcome !
By
PIYUSH .R. CHORDIA Seminar Guide
TE (Div. - I) Prof.C.A.Laulkar
Sinhgad College of Engineering
Agenda
Virtual PC
Architecture
Features
Terms & Concepts
Scenarios
Demo
Solution Accelerators
Why Virtualization ?
30 % per year 40 % per year
Virtualization
Virtualization is a framework or
methodology of dividing the resources of a
computer into multiple execution
environments, by applying one or more
concepts or technologies such as :
Application
Application Software
Software
Operating
Operating System
System
Device
Device Drivers
Drivers
Hardware
Hardware
Virtual PC Architecture
PC Virtualization
Guest
Guest Applications
Applications
Guest Guest
Guest Operating
OperatingSystem
System
Environment
Guest
Guest Drivers
Drivers
Virtual PC Virtualized
Virtualized Hardware
Hardware
Host
HostOperating
OperatingSystem
System
Host
Host
HostDrivers
Drivers
Host
HostHardware
Hardware
Environment
How does Virtual PC work
Architecture
config in
vmc-file
Sound
Virtual Diskette
Network
Ports USB
Software Virtual PC
Hardware
.vfd
...
Virtual Guest OS0 Guest OS1 Guest OSn
Machines
(VMs)
Virtual Machine Monitor (VMM)
Platform HW
Memory Processor/CS I/O Devices
Virtual
Machines
Binary IO-Device
Translation Emulation
Paravirtualization Interrupt
Virtualization
Page-table
Shadowing DMA Remap
Logical
Physical Memory I/O Devices
Processors
Hypervisor
Hard Ethernet
Drive NIC CPU RAM
Device I/O Accesses
I/O accesses (IN & OUT Host context Guest context
instructions)
- Trap into VMM kernel
- Force a context switch back Virtual PC
to the host context where Guest User Code
device emulation module
is invoked Device
3
- “Fast I/O handlers” can be Emulation
Module
called from within the VMM
3
context
Guest Kernel
- Some OUTs can be batched 1
Exception handling
External Interrupt pass- Guest Code
through
Page table maintenance
Located within a 32MB area Virtual
of address space known as Machine
the “VMM work area” “Additions”
Page
Directory Page Table
EPT
Tables
EPT
+
Tables
+ EPT Tables
Guest
Physical
Page Base Guest Physical
Address Address
Quality Assurance
Test and document software on different operating
systems on one computer
Compare application look and feel in multiple
environments simultaneously
Test potentially unstable prerelease software in a safe,
isolated environment
Accelerate application development
Increase QA by testing on multiple OSs using VMs
Decrease time-to-market with less reconfiguration
Do more in less time
Run multiple OSs on a single physical computer
Reduces the number of physical computers needed
Virtual PC Features
Key Features
Configurability
Adjust settings and allocate resources
Easy installation
No reboot required
Standardization
Avoid hardware conflicts
Convenience
Switch between OSs as easily as any application
Host integration
Drag and drop between guest and host
Virtual PC Features
Using Virtual Machines
Virtual Networking
Up to 4 NICs per virtual machine
Network Modes
Not Connected
Local Only (virtual machines only)
VM communicates with other VMs on the Local Only
network
External NIC (Virtual Networking)
Each VM appears to be a separate entity on the
network
Use a MS Loopback adapter to get internal only traffic
between host and virtual machine
Networking
Virtual Networking vs Local only
Virtual
Machine
#1
Virtual Host NIC
Network
Virtual
Machine
#2 External
Ethernet
Networking
Server
Virtual PC
Virtual
Machine Translators
Network
Host TCP/IP
Address
Connection
Translator
Virtual Machine Additions
Improved operating system performance
Drag and drop
Clipboard sharing
Shared folders
Integrated mouse
DOS CD-Rom support
Optimized video drivers
Time synchronization
Dynamic resizing of VM window
Today’s Uses
Virtualization addresses today’s IT concerns
OS OS OS OS OS OS
OS OS OS1 OS2