I new version (again). Here the change for this version : - No more modification of the hvm_info_table. - Creatation of a SCRATCH zone for hvmloader : 0x1000. - Copy directly the VGABIOS at the right place (0xC0000) into the guest memory. - Detect which graphic card are present in pci_setup(). - Remove the function cirrus_check - Add the support for some special keys for the dom0 driver. --- This patch is for pass-through the principal graphic card to a hvm guest. This is what is done inside : - We map the VGA frame buffer into the guest's memory (0xa0000 -> 0xbffff) - We get the vga bios address into the guest memory. Etherboot has been moved to 0xD0000 to let enough space to load the dom0 vgabios (it could be pretty big). - Map the vga ioport 0x03c0 -> 0x03df. - Then we start qemu with the new option -dom0-driver to have the dom0's keyboard and the mouse redirected into the guest. Signed-off-by: Jean Guyader -- Jean Guyader