Added support for converting VDI images to another format with bximage.

This commit is contained in:
Volker Ruppert 2021-01-08 13:19:08 +00:00
parent 7c8748a661
commit 3602ec1cd7
2 changed files with 11 additions and 1 deletions

View File

@ -56,7 +56,11 @@ Changes after 2.6.11:
simulation window by factor 2, 4 or 8 depending in desktop window size. simulation window by factor 2, 4 or 8 depending in desktop window size.
- wx: fixed status bar handling to avoid segfaults and deadlocks. - wx: fixed status bar handling to avoid segfaults and deadlocks.
- LGPL'd VGABIOS updated from SVN (fixed text output in VGA graphics modes). - VGABIOS
- LGPL'd VGABIOS updated from SVN (fixed text output in VGA graphics modes).
- Misc
- Added support for converting VDI images to another format with bximage.
------------------------------------------------------------------------- -------------------------------------------------------------------------
Changes in 2.6.11 (January 5, 2020): Changes in 2.6.11 (January 5, 2020):

View File

@ -75,6 +75,7 @@
#include "iodev/hdimage/vmware3.h" #include "iodev/hdimage/vmware3.h"
#include "iodev/hdimage/vmware4.h" #include "iodev/hdimage/vmware4.h"
#include "iodev/hdimage/vpc.h" #include "iodev/hdimage/vpc.h"
#include "iodev/hdimage/vbox.h"
#define BXIMAGE_MODE_NULL 0 #define BXIMAGE_MODE_NULL 0
#define BXIMAGE_MODE_CREATE_IMAGE 1 #define BXIMAGE_MODE_CREATE_IMAGE 1
@ -114,6 +115,7 @@ const char *hdimage_mode_names[] = {
"volatile", "volatile",
"vvfat", "vvfat",
"vpc", "vpc",
"vbox",
NULL NULL
}; };
@ -421,6 +423,10 @@ device_image_t* init_image(int image_mode)
hdimage = new vpc_image_t(); hdimage = new vpc_image_t();
break; break;
case BX_HDIMAGE_MODE_VBOX:
hdimage = new vbox_image_t();
break;
default: default:
fatal("unsupported disk image mode"); fatal("unsupported disk image mode");
break; break;