Volker Ruppert
9e43d90ce6
Added disk image info mode to determine the image format, geometry and size
2013-11-03 16:13:35 +00:00
Volker Ruppert
c2b1d9119d
Added VMDK version 4 disk image creation support (ported from Qemu).
...
The 'vmware4' mode now also supported as conversion target and for resize.
2013-11-03 07:41:29 +00:00
Volker Ruppert
e29957cca2
Removed 'delete' (-d) option and added new 'backup' (-b) option.
...
In convert/resize mode a backup can be created if the new file name
is not specified or the same as the source file name. In commit mode
both base image and redolog file are affected by the backup switch.
Added Linux specific file copy code using '/bin/cp'.
2013-11-02 15:58:59 +00:00
Volker Ruppert
f8ea396a2c
Several fixes for compiling Bochs successfully in Cygwin64
2013-11-01 18:19:52 +00:00
Volker Ruppert
08b66534aa
bximage fixes for compiling with VS2008Ex DLL plugins
2013-10-28 20:31:34 +00:00
Volker Ruppert
2c779f60da
bximage convert / resize: show source disk image mode
...
hdimage undoable / volatile: log base disk image mode
vmware4: fixed 'cylinders' calculation
2013-10-27 19:23:59 +00:00
Volker Ruppert
66b311a8a6
Some work on the new bximage utility
...
- added support to use 'concat' and 'dll' mode images as convert source.
A prefix ("concat:" or "dll:") must be added to the path since autodetection
doesn't work for these modes.
- create: fixed virtual disk size calculation based on C/H/S
- convert / resize (interactive mode): use original filename as the template for
the new one if not specified on the command line
2013-10-25 19:10:09 +00:00
Volker Ruppert
1fb469e77f
Started user doc update for bximage
...
Added legacy bximage and manual page to installation
Fixed some warnings
2013-10-23 15:22:09 +00:00
Volker Ruppert
bce8268c6f
Added new redolog_t method commit() for the bximage commit mode, using the fast
...
algrithm of bxcommit.
2013-10-23 08:35:21 +00:00
Volker Ruppert
70d91b179b
fixed bximage warnings in MSVC
...
check if size is specified for "quiet" resize
treat size values without suffix as megabytes
2013-10-22 19:26:42 +00:00
Volker Ruppert
ce7f013ff2
bximage: manual page updates and minor code fixes
2013-10-21 18:26:00 +00:00
Volker Ruppert
a70d507bd2
Rename legacy bximage utility to 'bximage_old' and the new one to 'bximage'
...
TODO #1 : update MSVC workspaces and documentation
TODO #2 : remove legacy utilities bximage_old and bxcommit after next release
2013-10-20 10:43:01 +00:00
Volker Ruppert
0236e5f591
bximage_new: improvements for non-interactive (quiet) mode
...
- all operations now also working with one file name parameter
- suppress BX_INFO output in quiet mode
2013-10-20 07:30:36 +00:00
Volker Ruppert
4802fac2de
bximage_new: Added VPC dynamic type image creation support (ported from Qemu).
...
The 'vpc' mode now also supported as conversion target and for resize.
2013-10-19 21:16:10 +00:00
Volker Ruppert
2f134b5a0c
bximage_new: fixes for the non-interactive mode
2013-10-19 10:20:37 +00:00
Volker Ruppert
b5a57e7818
Some work on the new bximage utility
...
- added support to resize images (currently supported: flat, growing and sparse)
- added image file name check and renaming if necessary
- set minimum hard disk size to 10 MB
- vmware4: make header structure available for usage in bximage
2013-10-18 19:36:50 +00:00
Volker Ruppert
05412afa18
bximage_new fixes and improvements
...
- fixed include order for win32
- added support to specify disk size in gigabytes on the command line
2013-10-17 16:00:26 +00:00
Volker Ruppert
a72135b56b
bximage_new on win32: added missing include file
2013-10-16 19:33:30 +00:00
Volker Ruppert
f923e5e4cf
bximage_new on win32
...
- fixed link failure on MSVC
- added win32 specific code for flat image creation
2013-10-16 18:55:43 +00:00
Volker Ruppert
88a1d3f6e7
bximage_new: hard disk image creation implemented (flat, growing, sparse)
...
TODO #1 : port win32 specific creation code for flat images from bximage.c
TODO #2 : add support to create (and convert to) vmware and vpc format images
2013-10-15 18:00:39 +00:00
Volker Ruppert
579dfc40df
bximage_new: implemented floppy image creation
2013-10-14 20:40:41 +00:00
Volker Ruppert
3d91e86ac1
bximage_new: added MSVC nmake support, added to default build system (targets
...
'all' and 'clean'), minor code changes
TODO: floppy / hard disk image creation, add to VS2008 workspace
TODO: finally remove the legacy utilities bximage and bxcommit
2013-10-14 15:57:10 +00:00
Volker Ruppert
f622a042c4
Added initial version of a new bximage utility written in C++ for image
...
creation, conversion and rodolog commit. Image creation support is not
present yet and the executable has not been added to standard compile yet.
TODO #1 : add floppy and hard disk image creation support (from bximage.c)
TODO #2 : implement support for conversion to vmware and vpc formats
TODO #3 : add MSVC (nmake and workspace) support
2013-10-13 20:30:51 +00:00
Volker Ruppert
6025e38333
preparing hdimage code for the the compilation with a new bximage utility
...
written in C++ supporting image creation, conversion and redolog commit
2013-10-13 14:33:55 +00:00
Volker Ruppert
282a0983f6
small fix and cleanup
2013-10-11 18:08:35 +00:00
Volker Ruppert
c4412e95b9
bxcommit: added capability to commit undoable redolog to a growing mode base image
...
bximage: minor cleanups
TODO: write a new bximage utility in C++ and use the hdimage classes to create
and convert all image modes and to commit redologs to all base image modes.
2013-10-08 17:53:14 +00:00
Volker Ruppert
2f66889661
Fixed compilation of the make_cmos_image utility
2013-08-11 08:46:56 +00:00
Volker Ruppert
f8075e0ed2
- added support for converting flat to growing mode images
...
- TODO: rewrite bximage / bxcommit stuff and use hdimage C++ classes to support
more commit / conversion types and to get rid of this code duplication.
2013-04-07 07:54:52 +00:00
Volker Ruppert
90168f5dcd
- moved the lowlevel cdrom and disk image stuff to the new subdirectory iodev/hdimage
...
- TODO: update MSVC workspace files
2012-08-05 18:13:38 +00:00
Volker Ruppert
9a008c8e3c
- use a constant for the maximum disk size calculated from max. cylinder bits
...
- increased maximum disk size to 8 TB (should work with growing and sparse disks)
2012-07-26 16:15:48 +00:00
Volker Ruppert
63ea597741
- fixed variable type for 'cyl' for > 2 TB support
...
- define symbols for the maximum hard disk size (still at 2 TB)
2012-07-24 19:15:00 +00:00
Volker Ruppert
a49c0746b4
- increased maximum disk image size to 2 TeraByte (tested with 'growing' image)
...
- TODO #1 : tests with higher values
- TODO #2 : tests 'sparse' image mode
2012-07-22 20:40:31 +00:00
Stanislav Shwartsman
e5f47fd86f
fixed typo
2012-07-19 18:03:10 +00:00
Volker Ruppert
53438e92c6
- fixes based on Debian patches by Guillem Jover
...
- set SHELL variable with configure script
- add '--tag CXX' argument to libtool calls
2012-07-14 07:01:43 +00:00
Volker Ruppert
e82ce9038e
- bximage / bxcommit: fixed compilation on big endian hosts by adding a new
...
header file that contains the required bswap code. This fix will be backported
for 2.5.1, but a better solution should be found for the next major release.
- bxcommit: fixed another big endian issue
2012-01-04 19:20:52 +00:00
Volker Ruppert
add7af8c13
- added support for converting growing to flat mode images
...
- added command line arguments and non-interactive (quiet) mode
2011-12-26 12:49:36 +00:00
Volker Ruppert
48e8df25ff
- fixed some MSVC warnings
2011-06-19 05:37:30 +00:00
Stanislav Shwartsman
00981cd7a6
Adding Id and Rev property to all files
2011-02-24 22:05:47 +00:00
Stanislav Shwartsman
67c45a0113
cleanups, tab2space and fixes for compilation by MSVCPP
2009-04-14 09:45:22 +00:00
Volker Ruppert
e5eac65b59
- removed wrong character from FSF address (converted invisible and useless
...
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Stanislav Shwartsman
55ad3e89b6
another whitespace cleanup by Sebastien
2008-02-05 22:57:43 +00:00
Stanislav Shwartsman
4c6836e383
Applied patch from #SF tracker
2007-10-31 13:10:04 +00:00
Volker Ruppert
bf0c76ee75
- fixed remaining type conflicts in vmware lseek() method and the bxcommit utility
...
- the bximage and bxcommit utilities depend on hdimage.h
- removed unnecessary spaces
2006-11-19 09:55:23 +00:00
Volker Ruppert
075ee17ac9
- geometry autodetection for 'sparse' mode hard disk images added
...
- store size of virtual disk in sparse header to simplify geometry detection/check
- enabling geometry autodetection causes a panic if not supported by image
2006-06-16 07:29:33 +00:00
Stanislav Shwartsman
d477191800
Fixed WinPcap URL
2006-06-02 13:42:37 +00:00
Volker Ruppert
a664b2008b
- added "reserved" floppy types 160k, 180k and 320k
...
- now using the "image" parameter in the bochsrc line example
2005-11-20 20:26:35 +00:00
Volker Ruppert
c92fd65c65
- enabled support for harddisks with up to 127 GB in Bochs and bximage
...
- BIOS harddisk detection message is now okay if size is < 64 GB
2005-11-06 16:50:30 +00:00
Volker Ruppert
3c4b32f9a4
- splitted image headers from hard drive header (TODO: split emulation and image
...
code for non-IDE interfaces)
- fixed bximage error messages
2005-11-06 11:07:01 +00:00
Volker Ruppert
8380541a8f
- replacing uint* types by Bit*u types since they are identical (BeOS code untouched)
2005-06-26 10:54:49 +00:00
Volker Ruppert
4715b838d8
- bx_fdsize_idx must be initialized if bximage was started without command line arguments
2005-06-10 12:15:29 +00:00