Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-21 Thread Derek Fawcus
On Mon, Mar 19, 2007 at 10:16:13PM +, Philip Boulain wrote: On 19 Mar 2007, at 20:23, Derek Fawcus wrote: There was just a discussion relating to this on the darwin-kernel list, you may wish to review the archive. (The thread starts at

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-21 Thread Philip Boulain
On 21 Mar 2007, at 15:39, Derek Fawcus wrote: Well, they seemed to be suggesting that the kernel importing and locking the user space memory was a bit dodgy, and that the kernel should export memory to user space. Or maybe that only really applies in the case of devices... Yes. It's

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-20 Thread Mike Kronenberg
Cool :) just dlded your tarball, and things work well. I'm about to add the code to the genuine kqemu environment. With kqemu Variables and function stubs. I hope to post back soon. Mike On 20.03.2007, at 03:18, Philip Boulain wrote: Mike Kronenberg wrote: So any suggestions on how to

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-20 Thread Mike Kronenberg
Here we go: www.kronenberg.org/qemu/qemu-devel-darwin-kqemu-20mar07.tar.bz2 - Made a new IOKit kext proj to match all the kqemu name requirements - moved kext header inside kqemu-darwin.cpp to lessen stray darwin related files - added kqemu-kernel.h to the target - added kqemu.h to the target

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-20 Thread Mike Kronenberg
You may want to hit me with a brick :) here is a draft not thested or whatever of kqemu-darwin.cpp before I have to leave... ...just for some ideads. /note to self -open a folder in kju svn tonight, so that we don't have to spam the list to much. Mike On 20.03.2007, at 12:58, Mike

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-19 Thread Mike Kronenberg
Hi there, On 17.03.2007, at 20:30, Philip Boulain wrote: Hi! I'll keep this succinct, because I'm sure they'd be FAQ-grade questions if this list had a FAQ: :) 1) Where's the version repository for KQEMU? It doesn't appear to be under/alongside QEMU itself. 2) Has anyone made any

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-19 Thread Philip Boulain
On 19 Mar 2007, at 08:49, Mike Kronenberg wrote: I have made a empty kext and a dummy client to do some tests on this topics. Boundary crossing is working well, so by now the kext part is ready. http://www.kronenberg.org/files/kqemu_poc.zip Neat, thanks. Unfortunately, Apple decided to

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-19 Thread Derek Fawcus
On Mon, Mar 19, 2007 at 06:54:35PM +, Philip Boulain wrote: Mmm, that's rather unhelpful. From my own reading, it looks like the Apple-approved way of doing this would be to use an IOMemoryDescriptor: initWithAddress() would initialise one which There was just a discussion relating

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-19 Thread Philip Boulain
On 19 Mar 2007, at 20:23, Derek Fawcus wrote: There was just a discussion relating to this on the darwin-kernel list, you may wish to review the archive. (The thread starts at http://lists.apple.com/archives/Darwin-kernel/ 2007/Mar/msg00010.html). Thanks; looking at this post, I'm probably

Re: [Qemu-devel] KQEMU Darwin port status?

2007-03-19 Thread Philip Boulain
Mike Kronenberg wrote: So any suggestions on how to lock user pages in Darwin would be very welcome. Philip Boulain wrote: Thanks; looking at this post, I'm probably barking up the right tree Right. I've cobbled up the aformentioned prototype, and it working insofar that the modified

[Qemu-devel] KQEMU Darwin port status?

2007-03-17 Thread Philip Boulain
Hi! I'll keep this succinct, because I'm sure they'd be FAQ-grade questions if this list had a FAQ: :) 1) Where's the version repository for KQEMU? It doesn't appear to be under/alongside QEMU itself. 2) Has anyone made any progress with porting KQEMU to Darwin x86? I've had a look at