The Pheonix EDD v3.0 spec says that if no dpte is present, the dpte pointer should contain ffffh:ffffh, not the 0h:0h which is currently used. This bit me when using NetWare as a KVM guest.
Signed-off-by: Bruce Rogers brogers@suse.com --- src/disk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/disk.c b/src/disk.c index 8e1d3ec..0291fe3 100644 --- a/src/disk.c +++ b/src/disk.c @@ -615,7 +615,7 @@ disk_1348(struct bregs *regs, struct drive_s *drive_g) u8 sum = checksum_far(SEG_LOW, &DefaultDPTE, 15); SET_LOW(DefaultDPTE.checksum, -sum); } else { - SET_FARVAR(seg, param_far->dpte.segoff, 0); + SET_FARVAR(seg, param_far->dpte.segoff, 0xffffffff); bdf = GET_GLOBAL(drive_g->cntl_id); }