Mark Pizzolato
3dea6056e6
Remove compiler warnings generated by newer clang compiler
2013-03-13 16:38:30 -07:00
Mark Pizzolato
d5ca542102
Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32
2013-03-12 11:07:58 -07:00
Mark Pizzolato
bc40f6abde
Removed recently linked dependence of VHD support on Large File support. VHDs can be supported without large file support up to the limits a system without large file support (i.e. 2GB). Fixes issue #35
2013-03-05 12:15:29 -08:00
Mark Pizzolato
4ff56d6c15
Changed all internal #ifdef's which were conditional on __linux to be conditional on either __linux or __linux__. Some platforms (PPC) don't define __linux when gcc is invoked with -std=c99.
2013-02-20 21:57:02 -08:00
Mark Pizzolato
952f29e205
Force include of unistd.h on linux
2013-02-19 09:59:56 -08:00
Mark Pizzolato
3d3f757991
Added display of VHD and RAW disk access capabilities to the output of SHOW VERSION
2013-02-19 09:44:23 -08:00
Mark Pizzolato
119ca2f03a
Fixed display of percentage progress when copying or merging a VHD to avoid overflow
2013-02-15 13:54:55 -08:00
Mark Pizzolato
448ee4ad3c
Fixed open issues on corrupt or inconsistent differencing disks to properly return error status.
...
Fixed error paths to report errors when copying a differencing disk.
Fixed structure alignment issues to produce dynamic VHDs which are compatible with Windows 7's disk management.
Fixed performance optimization which attempted to optimize dynamic disk BAT updates as dynamic disks grew.
Added -O attach option for to override consistency checks for differencing disks which may have unexpected parent GUID or timestamp values.
2013-02-11 09:48:36 -08:00
Mark Pizzolato
c4251bd53b
Fixed GCC compiler identified warning.
2013-01-26 12:14:43 -08:00
Mark Pizzolato
9dcf5dc25e
Added examples to the sim_disk attach help
2013-01-25 00:23:58 -08:00
Mark Pizzolato
e3207c2009
Compiler suggested cleanups
2013-01-23 05:07:44 -08:00
Mark Pizzolato
e6e6262f45
Fix ordering of thread activities while detaching disks and tapes
2013-01-22 20:59:49 -08:00
Mark Pizzolato
4a5b7a78c5
Remove the UNIT_RAW flag and deprecate the UNIT_TEXT flag (made the value 0).
2013-01-19 10:59:40 -08:00
Mark Pizzolato
6eb3804620
Standardized scp command formatting in help output
2013-01-15 06:21:32 -08:00
Mark Pizzolato
784ae24324
- Fixed asynchronous i/o hangs introduced when asynchronous cancel support was added
...
- Added event debug support to scp and the vax simulator
- Moved external declarations into include files related to modules which define them and removed random externs from modules which referenced them
- Fixed typos in sim_ether
- Fixed sim_disk and sim_tape to properly manage asynchronous threads on an i/o flush
2013-01-09 17:02:58 -08:00
Mark Pizzolato
c61e14fcdd
Avoid 8 bit characters in help output
2013-01-09 11:17:58 -08:00
Mark Pizzolato
4f4cbd4157
Avoid asynch thread thrashing on disk and tape detach and enhance the disk and tape help
2013-01-09 11:11:04 -08:00
Mark Pizzolato
7e1840eb5f
Fixed bugs in disk and tape operations when running without asynch disabled - bugs reported by Jordi Guillaumes i Pons
2013-01-07 09:25:57 -08:00
Mark Pizzolato
ba0f331fa5
Added framework to support per device help commands
2012-12-30 13:12:15 -08:00
Mark Pizzolato
3346f4a32c
Fix build on VMS (IA64)
2012-12-19 12:45:03 -08:00
Mark Pizzolato
50cf91d441
Merge branch 'SerialMux' and compiler suggested cleanup
2012-12-18 09:52:14 -08:00
Mark Pizzolato
18b6ab89d0
Fixing compiler complaints with MinGW and adding support for RAW disk access when compiling with MinGW on windows.
2012-12-16 20:18:54 -08:00
Mark Pizzolato
4a3bf9ee17
Compiler warning cleanup
2012-12-16 06:42:51 -08:00
Mark Pizzolato
d955c383e9
Fixed compiler warnings and errors when compiling with MinGW
2012-12-15 09:41:13 -08:00
Mark Pizzolato
0450a9b430
Compiler suggested cleanup
2012-12-15 07:56:42 -08:00
Mark Pizzolato
b466bdc9c6
Compiler warning cleanup
2012-12-13 13:41:57 -08:00
Mark Pizzolato
2b5ceae2be
Added missing sim_cancel support for device simulation code using the sim_disk and sim_tape libraries and doing asynchronous I/O if asynchronous I/O is active
2012-12-12 10:58:19 -08:00
Mark Pizzolato
223e3e0254
sim_disk.c - Added a VHD merge option when attaching a vhd differencing disk
...
- Cross platform VHD differencing disk fixes (dealing with file names).
- Optimization of VHD differencing disk meta data alignment
- General cleanup and casting of pointer function arguments and assignments
2012-11-16 15:35:13 -08:00
Mark Pizzolato
a74c2d22dd
sim_disk.c - Optimized read operations from unallocated VHD blocks
2012-11-12 14:36:35 -08:00
Mark Pizzolato
ed463a94fc
sim_disk.c - Fixed differencing disk expansion and end of drive access bugs
...
- Added an attach option to merge a differencing disk into its parent when an attach is done with an -M flag
2012-11-12 13:46:05 -08:00
Mark Pizzolato
2a9ac8a830
VHD Performance enhancementsDaa:
...
optimize BAT updates when writing to previously unwritten data blocks
data block alignment for optimal behavior on Advance Format host disks (4096 sectors)
2012-07-10 13:18:03 -07:00
Mark Pizzolato
3775c17034
Fixed asynch disk/tape I/O reset behaviors to reliably synchronize with the I/O thread's startup
2012-04-29 05:55:46 -07:00
Mark Pizzolato
c4659a0903
Fixed issue where asynchronous I/O wouldn't be reliable after a device reset.
2012-04-28 08:37:20 -07:00
Mark Pizzolato
f77a38c3c5
Cleaned up a few compile complaints
2012-04-27 12:11:12 -07:00
Mark Pizzolato
5f505ccadf
Fixing many compiler identified nits.
2012-04-18 09:48:04 -07:00
Mark Pizzolato
dfcd818762
Added O_DSYNC semantics to the RAW file open() call for *nix platforms. This makes *nix RAW I/O behavior consistent with windows RAW I/O.
2012-04-16 04:58:28 -07:00
Mark Pizzolato
190993b5f4
Fixed possible NULL pointer dereference. (from Sergey Oboguev)
2012-04-12 14:48:26 -07:00
Mark Pizzolato
1cb4eb7960
Fixed Asynch I/O issues which may leave pending asynch I/O in limbo when device resets happen (found by Sergey Oboguev)
2012-04-10 05:43:59 -07:00
Mark Pizzolato
7ac3557524
Fixed bug under Asynch I/O where I/O completion did not delay the appropriate time before passing back device status to a simulator. Found by Sergey Oboguev.
2012-04-02 14:05:12 -07:00
Mark Pizzolato
0270d0ea0d
Cleanup based on reports from Michael Bloom
2012-03-22 12:20:00 -07:00
Mark Pizzolato
fabdf73bed
Compiler cleanup after v3.9-0 merge
2012-03-19 16:07:36 -07:00
Mark Pizzolato
b3102ea86a
Foxed size units (words or bytes) consistency issues when creating disks.
2012-03-14 09:09:25 -07:00
Mark Pizzolato
57c961f99a
Made references to disk capacity consistent with respect to the units they are kept in (i.e. Words or Bytes).
2012-03-12 06:58:47 -07:00
Mark Pizzolato
4838d1f7dd
Align VHD disk data blocks for optimal performance when a VHD resides on storage with 4K sector size.
2012-02-25 08:45:52 -08:00
Mark Pizzolato
c2d50b503e
Fixed error path issues found by Sergey Oboguev
2012-02-01 19:59:24 -08:00
Mark Pizzolato
aa7c50eb38
Compiler cleanup for issues noticed during x64 compiles
2012-01-17 04:09:34 -08:00
Mark Pizzolato
3443839ba7
Fixed disk I/O which didn't work when Asynch I/O was dynamically disabled by scp command 'set noasync'
2012-01-13 02:32:28 -08:00
Mark Pizzolato
a808ca561c
Added dynamic support for uuid_generate when creating VHDs on *nix platforms.
2011-11-25 17:21:54 -08:00
Mark Pizzolato
a8a5a5b74f
Fixed error path to properly close file
2011-10-31 10:24:30 -07:00
Mark Pizzolato
7075a3ec5c
Added support for concurrent sharing of raw disk images/drives between simulators
2011-10-20 11:30:44 -07:00