diff options
author | Yang Zhang <yang.z.zhang@intel.com> | 2015-08-28 09:58:54 +0800 |
---|---|---|
committer | Yang Zhang <yang.z.zhang@intel.com> | 2015-09-01 12:44:00 +0800 |
commit | e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb (patch) | |
tree | 66b09f592c55df2878107a468a91d21506104d3f /qemu/roms/ipxe/src/config/vbox | |
parent | 9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00 (diff) |
Add qemu 2.4.0
Change-Id: Ic99cbad4b61f8b127b7dc74d04576c0bcbaaf4f5
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Diffstat (limited to 'qemu/roms/ipxe/src/config/vbox')
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/README | 18 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/colour.h | 0 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/console.h | 0 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/crypto.h | 0 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/general.h | 27 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/serial.h | 0 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/settings.h | 0 | ||||
-rw-r--r-- | qemu/roms/ipxe/src/config/vbox/sideband.h | 0 |
8 files changed, 45 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/config/vbox/README b/qemu/roms/ipxe/src/config/vbox/README new file mode 100644 index 000000000..b6f2da950 --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/README @@ -0,0 +1,18 @@ +Build using this command line: + +make CONFIG=vbox bin/intel--virtio-net--pcnet32.isarom + +Max size of a VirtualBox ROM is 56KB, 57344 bytes. There should be no need +to pad the image as long as the binary is smaller or equal to this size. + +To use the ROM in VirtualBox you need to enable it using this command: + +vboxmanage setextradata global \ + VBoxInternal/Devices/pcbios/0/Config/LanBootRom \ + /absolute/path/to/intel--virtio-net--pcnet32.isarom + +NB: If you build the ROM using the .rom prefix then it'll be built as a PCI +ROM, which won't work properly in VirtualBox. The error message you'll see +is "No more network devices", which is somewhat confusing. If you enter the +shell and use the "autoboot" command things will work as intended. Remember +to always build as a .isarom to avoid this issue. diff --git a/qemu/roms/ipxe/src/config/vbox/colour.h b/qemu/roms/ipxe/src/config/vbox/colour.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/colour.h diff --git a/qemu/roms/ipxe/src/config/vbox/console.h b/qemu/roms/ipxe/src/config/vbox/console.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/console.h diff --git a/qemu/roms/ipxe/src/config/vbox/crypto.h b/qemu/roms/ipxe/src/config/vbox/crypto.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/crypto.h diff --git a/qemu/roms/ipxe/src/config/vbox/general.h b/qemu/roms/ipxe/src/config/vbox/general.h new file mode 100644 index 000000000..27d15daf2 --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/general.h @@ -0,0 +1,27 @@ +/* Disabled from config/defaults/pcbios.h */ + +#undef IMAGE_ELF +#undef SANBOOT_PROTO_ISCSI +#undef SANBOOT_PROTO_AOE +#undef SANBOOT_PROTO_IB_SRP +#undef SANBOOT_PROTO_FCP +#undef REBOOT_CMD +#undef CPUID_CMD + +/* Disabled from config/general.h */ + +#undef DOWNLOAD_PROTO_HTTP +#undef CRYPTO_80211_WEP +#undef CRYPTO_80211_WPA +#undef CRYPTO_80211_WPA2 +#undef IWMGMT_CMD +#undef FCMGMT_CMD +#undef SANBOOT_CMD +#undef MENU_CMD +#undef LOGIN_CMD +#undef SYNC_CMD + +/* Ensure ROM banner is not displayed */ + +#undef ROM_BANNER_TIMEOUT +#define ROM_BANNER_TIMEOUT 0 diff --git a/qemu/roms/ipxe/src/config/vbox/serial.h b/qemu/roms/ipxe/src/config/vbox/serial.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/serial.h diff --git a/qemu/roms/ipxe/src/config/vbox/settings.h b/qemu/roms/ipxe/src/config/vbox/settings.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/settings.h diff --git a/qemu/roms/ipxe/src/config/vbox/sideband.h b/qemu/roms/ipxe/src/config/vbox/sideband.h new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qemu/roms/ipxe/src/config/vbox/sideband.h |