[SeaBIOS] ohci bulk?

Gerd Hoffmann kraxel at redhat.com
Mon Nov 22 15:49:08 CET 2010


On 11/22/10 14:47, Kevin O'Connor wrote:
> On Mon, Nov 22, 2010 at 11:52:56AM +0100, Gerd Hoffmann wrote:

 >>> [ access pci bars from real mode ]

>> Hmm, how about having a virtual "I/O bounce" device?  Allocate two
>> dwords in I/O space.  One dword for the address, one for the data.
>> reads and writes to the data register will be bounced to the address
>> written into the address register.
>
> It could work.  However, having the ability to go into full 32bit mode
> would be more flexible.

Indeed, and it would also allow to move bios code into high memory.

>> On real hardware seabios could emulate this using SMM.
>>
>> On virtual hardware qemu could emulate this so we don't need SMM
>> support in kvm.
>
> How hard would it be to add SMM support into kvm?

Dunno.  As I understand it the biggest issue is that kvm needs complete 
instruction emulation for big real mode as intel vmx supports protected 
mode only.  Correct Avi?

cheers,
   Gerd




More information about the SeaBIOS mailing list