Re: VGA pass-through

2009-08-18 Thread nathan binkert
>>> Currently VGA pass-through is not supported in KVM. It needs much >>> work to support it. >> >> Here's what I know of: >> >> - load the vga bios at 0xc >> - implement whatever main bios interfaces the vga vios expects >> - pass through the vga I/O ports >> > I think it also needs: > - map

Re: [PATCH] KVM: Make kvm header compile under g++.

2009-04-07 Thread nathan binkert
> Excellent.  One of the things I'm trying hard to do is keep kvm from being a > 'qemu accelerator' and generally useful for other projects.  That is, I'm > trying to keep the userspace interface neutral, and not to model exactly the > hardware qemu provides but allow for other configurations. > >

Re: [PATCH] KVM: Make kvm header compile under g++.

2009-04-07 Thread nathan binkert
> No, I just missed your patch.  Applied now.  Thanks for pestering, it's the > right thing when I miss something (copying me also helps). Thanks. > btw, can you share what you're doing with kvm and g++? I am a researcher at HP Labs studying system architecture. For many years, I have been invol

Re: [PATCH] KVM: Make kvm header compile under g++.

2009-04-06 Thread nathan binkert
l struct kvm_io outside of struct kvm_run. I mentioned that a grep shows no usage of kvm_io anywhere, so I didn't do that. Nate On Fri, Mar 27, 2009 at 9:53 PM, nathan binkert wrote: > Two things needed fixing: 1) g++ does not allow a named structure type > within an anonymous uni

[PATCH] KVM: Make kvm header compile under g++.

2009-03-27 Thread nathan binkert
Two things needed fixing: 1) g++ does not allow a named structure type within an anonymous union and 2) Avoid name clash between two padding fields within the same struct by giving them different names as is done elsewhere in the header. Signed-off-by: Nathan Binkert --- include/linux/kvm.h

Re: Fix to issues with kvm.h and g++

2009-03-18 Thread nathan binkert
>> http://www.mail-archive.com/kvm@vger.kernel.org/msg06423.html >> > > There was no followup so the issue was dropped.  If you send a patch I'll > apply it. The OP's patch is correct. I grepped all of kvm-84 and the only instance of kvm_io is that one that is removed in the diff. That said, if y

Re: Fix to issues with kvm.h and g++

2009-03-17 Thread nathan binkert
I'm having trouble compiling C++ code that #includes . There was a patch several months back and a request for an update to that patch, though the latest kernels still do not seem to work correctly. Is this something that is on anyone's radar? http://www.mail-archive.com/kvm@vger.kernel.org/msg06