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

Don Koch dkoch at verizon.com
Thu Jan 9 16:01:37 CET 2014


On 01/08/2014 06:04 PM, Kevin O'Connor wrote:
> 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

I've been booting with xen. I tried something similar to your command
and it failed. I will look into it.

> -Kevin
> 
> 

-d




More information about the SeaBIOS mailing list