Oracle Audio Technologies E10898-02 manual Hardware Virtualized Guest Killed

Page 80

Hardware Virtualized Guest Killed

Restart Oracle VM Server for the changes to take effect.

E.9 Hardware Virtualized Guest Killed

When running hardware virtualized guests, the QEMU process (qemu-dm) may have its memory usage grow substantially, especially under heavy I/O loads. This may cause the hardware virtualized guest to be killed as it runs out of memory. If the guest is killed, increase the memory allocation for dom0, for example from 512MB to 768MB.

E.10 Hardware Virtualized Guest Devices Not Working as Expected

Some devices, such as sound cards, may not work as expected in hardware virtualized guests. In a hardware virtualized guest, a device that requires physical memory addresses instead uses virtualized memory addresses, so incorrect memory location values may be set. This is because DMA (Direct Memory Access) is virtualized in hardware virtualized guests.

Hardware virtualized guest operating systems expect to be loaded in memory starting somewhere around address 0 and upwards. This is only possible for the first hardware virtualized guest loaded. Oracle VM Server virtualizes the memory address to be 0 to the size of allocated memory, but the guest operating system is actually loaded at another memory location. The difference is fixed up in the shadow page table, but the operating system is unaware of this.

For example, a sound is loaded into memory in a hardware virtualized guest running Windows at an address of 100MB may produce garbage through the sound card, instead of the intended audio. This is because the sound is actually loaded at 100MB plus 256MB. The sound card receives the address of 100MB, but it is actually at 256MB.

An IOMMU (Input/Output Memory Management Unit) in the computer’s memory management unit would remove this problem as it would take care of mapping virtual addresses to physical addresses, and enable hardware virtualized guests direct access to the hardware.

E.11 Hardware Virtualized Guest Windows Installation

During the installation of Microsoft Windows™ XP and Microsoft Windows™ 2003 as hardware virtualized guests, the domain requires a reboot and attempts to find the installation CDROM. Oracle VM Server does not know how to find the CDROM. To workaround this problem:

1.During the domain reboot, press F6 or F5 to select a new HAL (Hardware Abstraction Layer).

2.Select Standard PC and add the CDROM to your guest configuration file, for example, add the following the /etc/xen/myWindowsGuest file:

disk = [ 'file:/ovm/guests/win2003sp1.dsk,hda,w','file:/ovm/trees/ISO/WIN/en_ windows_server_2003_with_sp1_standard.iso,hdc:cdrom,r', ] cdrom="/ovm/trees/ISO/WIN/en_windows_server_2003_with_sp1_standard.iso"

3.Restart the hardware virtualized guest with the xm create command. The installation continues.

E-6Oracle VM Server User’s Guide

Image 80
Contents E10898-02 FebruaryPage Contents Command-Line Tools Oracle VM Server Configuration File Page Accessibility of Code Examples in Documentation PrefaceCommand Syntax TTY Access to Oracle Support ServicesConventions Page Introduction to Virtualization What is Virtualization?Why Virtualize? Xen Technology Xen TechnologyOracle VM Oracle VM Oracle VM Architecture shows the components of Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerHypervisor HypervisorDomains, Guests and Virtual Machines Management Domain DomainsHardware Virtualization Vs. Paravirtualization Creating Virtual MachinesManaging Oracle VM Server Repositories Configuring Oracle VM ServerConfiguring Oracle VM Server Oracle VM Agent Oracle VM Agent Command-Line ToolConfiguring Oracle VM Agent Configuring Oracle VM Agent XmlrpcStarting Oracle VM Agent Stopping Oracle VM AgentMonitoring Oracle VM Agent Deploying Oracle VM AgentTesting the Oracle VM Agent Connection Remotely Starting a Guest with the Oracle VM Agent APIOracle VM Agent Utilities Remotely Stopping a Guest with the Oracle VM Agent APIMonitoring a Guest with the Oracle VM Agent Deleting a Guest with the Oracle VM Agent6Oracle VM Server User’s Guide Creating a Guest Supported Guest Operating SystemsSupported Guest Operating Systems -bit Hypervisor Supported Guest Operating SystemsCreating a Guest Using a Template Creating a Guest Using a TemplateMounting an ISO Enabling Registration of Guests with Oracle VM ManagerCreating a Guest Using virt-install Creating a Guest Using virt-installPress Enter Following question is displayed Would you like to enable graphics support yes or no? Creating a Paravirtualized Guest Manually Creating a Paravirtualized Guest ManuallyCreating the Root File System Configuring the Guest Populating the Root File SystemCreating a Hardware Virtualized Guest Manually Creating a Hardware Virtualized Guest ManuallyEdit /mnt/etc/sysconfig/network-scripts/ifcfg-eth0 Use VNCViewer to display the guest If you see this error message Restart the guest, using the xm command-line tool Installing Paravirtual Drivers Installing Paravirtual Drivers 16Oracle VM Server User’s Guide Domain Lifecycle Domain Monitoring and AdministrationUsing the xm Command-Line Interface Viewing Host Information Using the xm Command-Line InterfaceMonitoring Domains Using the xm Command-Line Interface 4Oracle VM Server User’s Guide Creating a Shared Virtual Disk for Live Migration Creating a Shared Virtual Disk Using OCFS2 on iSCSIDomain Live Migration Creating a Shared Virtual Disk for Live Migration Delete entries that you do not want to use, for exampleCreating a Shared Virtual Disk Using OCFS2 on SAN Adding a Shared Virtual Disk Using NFS Migrating a Domain Migrating a Domain6Oracle VM Server User’s Guide Repository Configuration File Managing Oracle VM Server RepositoriesOracle VM Server Repositories Repository Mount OptionsOracle VM Server Repositories Adding a RepositoryRemoving a Repository Command-Line Tools Configure StartStop RestartHelp Nname --name=nameRRAM --ram=RAM UUUID --uuid=UUIDBvalue --bridge=value VncVncport=port SdlArch=arch Os-variant=variantNoapic Paravirt Llocation --location=locationVif-type=type Xargs --extra-args=argsConsole domain-id Destroy domain-idDmesg --clear Help --long option=file --defconfig=file List --long --label domain-idLog Migrate domain-id host -l --live -r=MB --resource=MBRestore statefile Shutdown -a -w domain-idTop Unpause domain-idOracle VM Server Configuration File Logfile location Oracle VM Server Configuration FileLoglevel Critical or Fatal Error Warn or Warning Info Debug Xend-http-server yes no Xend-unix-server yes noXend-tcp-xmlrpc-server yes no Xend-unix-xmlrpc-server yes noXend-port port Xend-relocation-port portXend-address IPAddress Xend-relocation-address IPAddressEnable-dump yes no Dom0-min-mem memoryDom0-cpus CPUs External-migration-tool tool6Oracle VM Server User’s Guide Guest Configuration Files Configuration File ExampleConfiguration File Example Oracle VM Agent Architecture Oracle VM Agent ArchitectureOracle VM Agent Deployment Oracle VM Agent DeploymentOracle VM Agent Architecture D-3 4Oracle VM Server User’s Guide Oracle VM Server Directories TroubleshootingDebugging Tools Using Dhcp Guest Console AccessOracle VM Server Command-Line Tools Using DhcpGuest Console Access Hardware Virtualized Guest Console Not Displayed Cannot Display Graphical Installer When Creating GuestsCannot Display Graphical Installer When Creating Guests Setting the Guest’s Clock Wallclock Time Skew ProblemsMouse Pointer Tracking Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Windows Installation Hardware Virtualized Guest KilledHardware Virtualized Guest Devices Not Working as Expected Hardware Virtualized Guest KilledFirewall Blocks NFS Access Attaching to a Console with the Grub Boot LoaderTAP Disks with Paravirtualized Guests CD-ROM Image Not Found8Oracle VM Server User’s Guide Glossary Oracle VM Agent Oracle VM ServerOracle VM Manager Paravirtualized machineUtility Server VifVirtual disk Virtual Machine VMGlossary-4 Index Index-1Index-2