Upload
duonglien
View
252
Download
4
Embed Size (px)
Citation preview
Copyright©2014Oracleand/oritsaffiliates.Allrightsreserved.|
VirtualBox5.0NewFeatures
OracleVMVirtualBoxWorkshop
1
SimonCOTERPrincipalProductManagerOracleVM&[email protected]
hOps://blogs.oracle.com/scoterNovember25th,2015
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved.
What’sNewinVirtualBox5.0?
2
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved.
OracleVMVirtualBox5.0MainEnhancements
3
• VirtualMachineManagement
Ø ParavirtualizaXonsupportforWindowsandLinuxguests
Ø MoreinstrucXonsetextensionsavailabletotheguest
• DevicesupportØ xHCIControllertosupportUSB3devices
• UsabilityØ ImprovedDraganddropsupport
Ø DiskimageencrypXon
Ø VMsstartedwithseparateGUI–foreground–/VM–background–processes
• UnderthehoodØ GUI:NewUserInterfaceforcustomizingstatus-bar,menu-barandguest-contentscaling
Ø GUI:HiDPIsupport&VMguestcontentscalingsupport(including3DacceleraXon)
Ø GUI:Hot-pluggingsupportforSATAdisks
Ø TroubleshooXng/DEBUG:captureUSBtraffictoforasingleoralldevices
Ø SupportfortheNDIS6networkingframeworkonWindows
Ø New,modularaudioarchitectureforprovidingabeOerabstracXonofthehostaudiobackend
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 4
OracleVMVirtualBox5.0:ParavirtualizaXonVirtualBoxallowsexposingapara-virtualiza;oninterfacetofacilitateaccurateandefficientexecu;onofso?ware.
• None ExplicitlyturnsoffexposinganyparavirtualizaXoninterface.
• Legacy DefaultopXonforVMswhichwerecreatedwitholderVirtualBoxreleases
• Default WillpickupanappropriateinterfacedependingontheguestOStypewhilestarXngtheVM.Thisisthedefault opXonchosenwhilecreaXngnewVMs(Windows->Hyper-V/Linux->KVM/OSX->Minimal)
• Minimal Announcesthepresenceofavirtualizedenvironment.
• KVM PresentaLinuxKVMhypervisorinterfacewhichisrecognizedbyLinuxkernelsstarXngwithversion2.6.25.
• Hyper-V PresentsaMicrosojHyper-VhypervisorinterfacewhichisrecognizedbyWindows7andnewerMicrosojOS.
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 5
OracleVMVirtualBox5.0:InstrucXonSetExtendedMoreinstrucXonsetextensionsavailabletotheguestwhenrunningwithhardware-assistedvirtualizaXonandnestedpaging.Amongothersthisincludes:
• SSE4.1/4.2 ImproveVideoAcceleraXon,Graphicbuildingblocksandstreamingloadonvirtual-machines
• AVX/AVX-2 SuitableforintensiveandparallelcalculaXonsandallowstheexpansionofmostvectorintegersSSEto256bits
• AES-NI ImprovethespeedofapplicaXons(ex.databases&applicaXonservers)performingencrypXonanddecrypXon usingtheAdvancedEncrypXonStandard(AES).
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 6
OracleVMVirtualBox5.0:xHCIController–USB3WithVirtualBoxyoucanfirstconfigurewhetherUSBisavailableintheguestatall,andthenchoosethelevelofUSBsupport:OHCIforUSB1.1,EHCI(whichwillalsoenableOHCI)forUSB2.0,orxHCIforallUSBspeeds.
0
20
40
60
80
100
120
140
HostEHCI(USB2.0)GuestOHCI(USB1.0)
HostEHCI(USB2.0)GuestEHCI(USB2.0)
HostEHCI(USB2.0)GuestxHCI(USB3.0)
HostxHCI(USB3.0)GuestxHCI(USB3.0)
HostxHCI(USB3.0)
ThroughputMB/sexample-USBDiskdevice
Note:ThexHCIandEHCIcontrollersareshippedasaVirtualBoxextensionpackage,whichmustbeinstalledseparately.
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 7
OracleVMVirtualBox5.0:ImprovedDrag&DropsupportStarXngwithversion5.0,VirtualBoximproveddrag’ndropsupportfromthehosttotheguestandviceversa.Drag’ndroptransparentlyallowscopyingoropeningfiles,directoriesformatsfromoneendtotheother,e.g.fromthehosttotheguestorfromtheguesttothehost.
IMPORTANT:ConsiderthatdefaultVALUEofthisfeatureis“disabled”.
Note:Drag&DropfeatureisavailablewithlatestGuestAddiJonsinstalled
DebugD&D:hLps://www.virtualbox.org/wiki/DnDDebug
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 8
OracleVMVirtualBox5.0:DiskImageEncrypXonStarXngwithVirtualBox5.0,itispossibletoencryptthedatastoredinharddiskimagestransparentlyfortheguest.VirtualBoxusestheAESalgorithminXTSmodeandsupports128or256bitdataencrypXonkeys(DEK).
Note:The“DiskImageEncrypJon”isshippedasaVirtualBoxextensionpackage,whichmustbeinstalledseparately. VBoxManageencryptmedium"uuid|filename"--newpassword"file|-"--cipher"cipherid"--newpasswordid"id"
Encrypt
Startwithpassword
Decrypt
Startwithoutpassword
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 9
OracleVMVirtualBox5.0:DiskImageEncrypXonTheDEKisstoredencryptedinthemediumproper;esandisdecryptedduringVMstartupbyenteringapasswordwhichwaschosenwhentheimagewasencrypted.
Note:The“DiskImageEncrypJon”isshippedasaVirtualBoxextensionpackage,whichmustbeinstalledseparately. VBoxManagecontrolvm"uuid|vmname"addencpassword"id""password"[--removeonsuspend"yes|no"]
Encrypt
Startwithpassword
Decrypt
Startwithoutpassword
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 10
OracleVMVirtualBox5.0:DiskImageEncrypXonInsomecircumstancesitmightberequiredtodecryptpreviouslyencryptedimages.
Note:The“DiskImageEncrypJon”isshippedasaVirtualBoxextensionpackage,whichmustbeinstalledseparately. VBoxManageencryptmedium"uuid|filename"--oldpassword"file|-"
Encrypt
Startwithpassword
Decrypt
Startwithoutpassword
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 11
OracleVMVirtualBox5.0:DiskImageEncrypXonSincetheDEKisstoredaspartoftheVMconfigura;onfile,itisimportantthatitiskeptsafe.LosingtheDEKmeansthatthedatastoredinthediskimagesislostirrecoverably.HavingcompleteanduptodatebackupsofalldatarelatedtotheVMistheresponsibilityoftheuser.
Note:The“DiskImageEncrypJon”isshippedasaVirtualBoxextensionpackage,whichmustbeinstalledseparately.
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 12
OracleVMVirtualBox5.0:VMsinseparatemode.VMprocesscouldbestartedheadlesswhilethefrontendrunsasaseparateone
VBoxManagestartvm”vmname"--type”gui”
NormalStart
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 13
OracleVMVirtualBox5.0:VMsinseparatemode.WithHeadlessmodeVMstartinbackgroundandfrontendprocessisnotstarted
VBoxManagestartvm”vmname"--type”headless”
HeadlessStart
Note:ThisisanexperimentalfeatureasitlackscertainfuncJonalityatthemoment(e.g.3DacceleraJonwillnotwork).
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 14
OracleVMVirtualBox5.0:VMsinseparatemode.WithDetachablemodeVMstartinbackgroundandfrontendprocessisstarted*
VBoxManagestartvm”vmname"--type”headless”
DetachableStart
*andcloseablewithoutstoptheguest
Note:ThisisanexperimentalfeatureasitlackscertainfuncJonalityatthemoment(e.g.3DacceleraJonwillnotwork).
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 15
OracleVMVirtualBox5.0:VMsMenuCustomizaXonNewUserInterfaceforcustomizingstatus-bar,menu-barandguest-contentscalingUndertheHood
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 16
OracleVMVirtualBox5.0:HiDPIsupport
• WindowsAddiXons/WDDM:improvedvideomemoryuXlizaXonandallowmore/biggerguestscreenswithlargeresoluXons(includingHiDPI)
• ApplicaXoniconsandopXonalun-scaledHiDPIoutputonMacOSX(including3DacceleraXon)
UndertheHood
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 17
OracleVMVirtualBox5.0:GUI-Hot-PlugSATAdisksBytheGUI,addvirtualSATAdiskstoaguestwithoutreboot/stopUndertheHood
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 18
OracleVMVirtualBox5.0:USBdevicesDebugBytheCLI,debugUSBtrafficforasingleoralldevicesandanalyzeitwithWiresharkUndertheHood• AOachanUSBdevicewithdebugenabledVBxManage controlvm "VM name" usbattach "uuid|address" --capturefile "filename”
• ListUSBdevicesacXveonhostsystem
• EnabledebugontherootUSBaOachedtoeHCI/oHCI/xHCIcontrollerVBoxManage setextradata "VM name" VBoxInternal/Devices/usb-”?”hci/LUN#0/Config/CaptureFilename "filename"
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved. 19
OracleVMVirtualBox5.0:USBdevicesDebugDetachUSBdeviceandanalyzedumpobtained(Wiresharkintheexample)UndertheHood• DetachanUSBdevicewithdebugenabledVBxManage controlvm "VM name" usbdetach "uuid|address”
• Analyzeddumpfileobtained(Wiresharkintheexamplebelow)
Copyright©2015Oracleand/oritsaffiliates.Allrightsreserved.
Q&A
20