[SeaBIOS] [PATCH] Change pvscsi to use BAR 1.

Kevin O'Connor kevin at koconnor.net
Thu Jan 9 00:04:25 CET 2014


On Wed, Jan 08, 2014 at 02:39:19PM -0500, Don Koch wrote:
> From: Don Koch <dkoch at cloudswitch.com>
> 
> Change pvscsi to use BAR 1 (mmio) instead of BAR 0 (ioport).
> 
> Signed-off-by: Don Koch <dkoch at verizon.com>
> ---
> I found that when using bar 0, the VM wouldn't boot where
> using bar 1 worked. Cced Evgeny for review.

What command do you use to test?  I can't get pvscsi to work with or
without your patch.  I used this command:

../qemu/qemu-1.7.0/x86_64-softmmu/qemu-system-x86_64 -k en-us -snapshot -L test -chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios -m 512 -device pvscsi,id=pvscsi0 -device scsi-disk,bus=pvscsi0.0,drive=drive0 -drive id=drive0,if=none,file=dos-drivec-new -boot menu=on

-Kevin



More information about the SeaBIOS mailing list