From: Jack Lange Date: Tue, 1 Dec 2009 00:53:22 +0000 (-0600) Subject: added default PC configuration file X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=3852da1444b8ff6d7d057cb324b37ae368cfd688 added default PC configuration file --- diff --git a/utils/guest_creator/default.xml b/utils/guest_creator/default.xml new file mode 100644 index 0000000..bbcdc85 --- /dev/null +++ b/utils/guest_creator/default.xml @@ -0,0 +1,205 @@ + + + 1024 + enable + nested + 100 + + + + 0xa0000 + 0xc0000 + 0xa0000 + + + + + + + + + + + + + + + + + apic + + + + + + + pci0 + + + + pci0 + + + + pci0 + + + + pci0 + + + + pci0 + + + + + 150 + + + + pci0 + southbridge + + + + pci0 + 0x8086 + 0x100e + + + + pci0 + 0x8086 + 0x107c + 59 + + + + + boot-cd + + V3Vee CDROM + CDROM + 0 + 0 + + + + + ide + + + + + 0x00 + 0x07 + PRINT_AND_IGNORE + + + 0xc0 + 0xc7 + PRINT_AND_IGNORE + + + + 0x81 + 0x87 + PRINT_AND_IGNORE + + + + 0x88 + 0x8f + PRINT_AND_IGNORE + + + + 0x08 + 0x0f + PRINT_AND_IGNORE + + + + 0xd0 + 0xde + PRINT_AND_IGNORE + + + + 0x3f8 + 0x3ff + PRINT_AND_IGNORE + + + + 0x2f8 + 0x2ff + PRINT_AND_IGNORE + + + + 0x3e8 + 0x3ef + PRINT_AND_IGNORE + + + + 0x2e8 + 0x2ef + PRINT_AND_IGNORE + + + + 0x378 + 0x37f + PRINT_AND_IGNORE + + + + 0x3b0 + 0x3bb + PRINT_AND_PASSTHROUGH + + + + 0x3c0 + 0x3df + PRINT_AND_PASSTHROUGH + + + + 0x274 + 0x277 + PRINT_AND_IGNORE + + + + 0x279 + 0x279 + PRINT_AND_IGNORE + + + + 0xa79 + 0xa79 + PRINT_AND_IGNORE + + + + + + + + diff --git a/utils/guest_creator/main.c b/utils/guest_creator/main.c index 2316ea9..782e63d 100644 --- a/utils/guest_creator/main.c +++ b/utils/guest_creator/main.c @@ -67,12 +67,15 @@ int main(int argc, char ** argv) { } + + // parse input if (parse_config_input(cfg_input) == -1) { printf("Error parsing configuration input\n"); return 1; } + printf("xml : %s\n", ezxml_toxml(cfg_input)); diff --git a/utils/guest_creator/test.xml b/utils/guest_creator/test.xml deleted file mode 100644 index 79169c0..0000000 --- a/utils/guest_creator/test.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - 1024 - enable - nested - 100 - - - - 0xa0000 - 0xc0000 - 0xa0000 - - - - - - - - - - - - - - - - - LAPIC - - - - - - 19997 - - - - - - PCI - - - - PCI - - - - PCI - - - - PCI - - - - PCI - - - - - - - - PCI - PIIX3 - - - - PCI - E1000 - 0x8086 - 0x100e - - - - PCI - E1000 - 0x8086 - 0x107c - - - - harddisk - - - - - - boot-cd - - 0 - 0 - - - - - IDE - - - - - PRINT_AND_IGNORE - 0x00 - 0x07 - - - PRINT_AND_IGNORE - 0xc0 - 0xc7 - - - - - - - -