* KVM on MIPS? @ 2010-03-25 16:54 Dale Farnsworth 2010-03-25 21:04 ` Avi Kivity 0 siblings, 1 reply; 8+ messages in thread From: Dale Farnsworth @ 2010-03-25 16:54 UTC (permalink / raw) To: kvm I'm beginning to look at implementing KVM on MIPS. I've tried to search for any work-in-progress on this but haven't found much at all. If you know of anyone who is working on this or of pitfalls I should consider before jumping in, please let me know. Thanks, -Dale ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-03-25 16:54 KVM on MIPS? Dale Farnsworth @ 2010-03-25 21:04 ` Avi Kivity 2010-03-25 22:32 ` Alexander Graf 0 siblings, 1 reply; 8+ messages in thread From: Avi Kivity @ 2010-03-25 21:04 UTC (permalink / raw) To: Dale Farnsworth; +Cc: kvm On 03/25/2010 06:54 PM, Dale Farnsworth wrote: > I'm beginning to look at implementing KVM on MIPS. I've tried to search > for any work-in-progress on this but haven't found much at all. > Google comes up with some hits, but nothing concrete. > If you know of anyone who is working on this or of pitfalls I should > consider before jumping in, please let me know. > Is the instruction set virtualizable? Are you planning full virt or paravirt? -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-03-25 21:04 ` Avi Kivity @ 2010-03-25 22:32 ` Alexander Graf 2010-03-26 16:16 ` Dale Farnsworth 0 siblings, 1 reply; 8+ messages in thread From: Alexander Graf @ 2010-03-25 22:32 UTC (permalink / raw) To: Avi Kivity; +Cc: Dale Farnsworth, kvm@vger.kernel.org Am 25.03.2010 um 22:04 schrieb Avi Kivity <avi@redhat.com>: > On 03/25/2010 06:54 PM, Dale Farnsworth wrote: >> I'm beginning to look at implementing KVM on MIPS. I've tried to >> search >> for any work-in-progress on this but haven't found much at all. >> > > Google comes up with some hits, but nothing concrete. > >> If you know of anyone who is working on this or of pitfalls I should >> consider before jumping in, please let me know. >> > > Is the instruction set virtualizable? FWIW it's not. Kernel mode is used based on an address offset of the IP. Since you'd want to have your guest running in user mode, you're pretty much lost there. Alex > Are you planning full virt or paravirt? > > -- > Do not meddle in the internals of kernels, for they are subtle and > quick to panic. > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-03-25 22:32 ` Alexander Graf @ 2010-03-26 16:16 ` Dale Farnsworth 2010-03-26 19:59 ` Dale Farnsworth 0 siblings, 1 reply; 8+ messages in thread From: Dale Farnsworth @ 2010-03-26 16:16 UTC (permalink / raw) To: Alexander Graf, kvm; +Cc: Avi Kivity, kvm@vger.kernel.org On Thu, Mar 25, 2010 at 11:32:57PM +0100, Alexander Graf wrote: > > Am 25.03.2010 um 22:04 schrieb Avi Kivity <avi@redhat.com>: > >> On 03/25/2010 06:54 PM, Dale Farnsworth wrote: >>> I'm beginning to look at implementing KVM on MIPS. I've tried to >>> search >>> for any work-in-progress on this but haven't found much at all. >> >>> If you know of anyone who is working on this or of pitfalls I should >>> consider before jumping in, please let me know. >>> >> >> Is the instruction set virtualizable? > > FWIW it's not. Kernel mode is used based on an address offset of the IP. > Since you'd want to have your guest running in user mode, you're pretty > much lost there. I guess that would qualify as a pitfall. Thanks Avi and Alex. -Dale ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-03-26 16:16 ` Dale Farnsworth @ 2010-03-26 19:59 ` Dale Farnsworth 2010-03-27 1:09 ` Nolan 2010-08-12 21:26 ` Hollis Blanchard 0 siblings, 2 replies; 8+ messages in thread From: Dale Farnsworth @ 2010-03-26 19:59 UTC (permalink / raw) To: Alexander Graf, kvm; +Cc: Avi Kivity On Fri, Mar 26, 2010 at 09:16:19AM -0700, Dale Farnsworth wrote: > On Thu, Mar 25, 2010 at 11:32:57PM +0100, Alexander Graf wrote: > > > > Am 25.03.2010 um 22:04 schrieb Avi Kivity <avi@redhat.com>: > > > >> On 03/25/2010 06:54 PM, Dale Farnsworth wrote: > >>> I'm beginning to look at implementing KVM on MIPS. I've tried to > >>> search > >>> for any work-in-progress on this but haven't found much at all. > >> > >>> If you know of anyone who is working on this or of pitfalls I should > >>> consider before jumping in, please let me know. > >>> > >> > >> Is the instruction set virtualizable? > > > > FWIW it's not. Kernel mode is used based on an address offset of the IP. > > Since you'd want to have your guest running in user mode, you're pretty > > much lost there. > > I guess that would qualify as a pitfall. Thanks Avi and Alex. After thinking about this some more, I think this means we can't run an unmodified guest. It should be possible to build the guest kernel to run in supervisor or user mode/address space. I'm new to MIPS, so I'm still looking for other challenges in virtualizing the instruction set. -Dale ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-03-26 19:59 ` Dale Farnsworth @ 2010-03-27 1:09 ` Nolan 2010-08-12 21:26 ` Hollis Blanchard 1 sibling, 0 replies; 8+ messages in thread From: Nolan @ 2010-03-27 1:09 UTC (permalink / raw) To: kvm Dale Farnsworth <dale <at> farnsworth.org> writes: > After thinking about this some more, I think this means we can't run > an unmodified guest. It should be possible to build the guest kernel > to run in supervisor or user mode/address space. > > I'm new to MIPS, so I'm still looking for other challenges in virtualizing > the instruction set. You might want to read "Disco: Running Commodity Operating Systems on Scalable Multiprocessors" by the folks at Stanford who eventually went on to write VMware. They wrote a VMM for a MIPS ccNUMA. IIRC, they had to both do binary translation, as well as relink Irix to live at an address in the user KSEG, instead the kernel KSEG. - nolan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-03-26 19:59 ` Dale Farnsworth 2010-03-27 1:09 ` Nolan @ 2010-08-12 21:26 ` Hollis Blanchard 2010-08-13 4:24 ` Dale Farnsworth 1 sibling, 1 reply; 8+ messages in thread From: Hollis Blanchard @ 2010-08-12 21:26 UTC (permalink / raw) To: Dale Farnsworth; +Cc: Alexander Graf, kvm, Avi Kivity On 03/26/2010 12:59 PM, Dale Farnsworth wrote: > On Fri, Mar 26, 2010 at 09:16:19AM -0700, Dale Farnsworth wrote: >> On Thu, Mar 25, 2010 at 11:32:57PM +0100, Alexander Graf wrote: >>> >>> Am 25.03.2010 um 22:04 schrieb Avi Kivity<avi@redhat.com>: >>> >>>> On 03/25/2010 06:54 PM, Dale Farnsworth wrote: >>>>> I'm beginning to look at implementing KVM on MIPS. I've tried to >>>>> search >>>>> for any work-in-progress on this but haven't found much at all. >>>> >>>>> If you know of anyone who is working on this or of pitfalls I should >>>>> consider before jumping in, please let me know. >>>>> >>>> >>>> Is the instruction set virtualizable? >>> >>> FWIW it's not. Kernel mode is used based on an address offset of the IP. >>> Since you'd want to have your guest running in user mode, you're pretty >>> much lost there. >> >> I guess that would qualify as a pitfall. Thanks Avi and Alex. > > After thinking about this some more, I think this means we can't run > an unmodified guest. It should be possible to build the guest kernel > to run in supervisor or user mode/address space. > > I'm new to MIPS, so I'm still looking for other challenges in virtualizing > the instruction set. Hi Dale, how is this going? Hollis Blanchard Mentor Graphics, Embedded Systems Division ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: KVM on MIPS? 2010-08-12 21:26 ` Hollis Blanchard @ 2010-08-13 4:24 ` Dale Farnsworth 0 siblings, 0 replies; 8+ messages in thread From: Dale Farnsworth @ 2010-08-13 4:24 UTC (permalink / raw) To: Hollis Blanchard; +Cc: kvm On Thu, Aug 12, 2010 at 02:26:17PM -0700, Hollis Blanchard wrote: > On 03/26/2010 12:59 PM, Dale Farnsworth wrote: >> On Fri, Mar 26, 2010 at 09:16:19AM -0700, Dale Farnsworth wrote: >>> On Thu, Mar 25, 2010 at 11:32:57PM +0100, Alexander Graf wrote: >>>> >>>> Am 25.03.2010 um 22:04 schrieb Avi Kivity<avi@redhat.com>: >>>> >>>>> On 03/25/2010 06:54 PM, Dale Farnsworth wrote: >>>>>> I'm beginning to look at implementing KVM on MIPS. I've tried to >>>>>> search >>>>>> for any work-in-progress on this but haven't found much at all. >>>>> >>>>>> If you know of anyone who is working on this or of pitfalls I should >>>>>> consider before jumping in, please let me know. >>>>>> >>>>> >>>>> Is the instruction set virtualizable? >>>> >>>> FWIW it's not. Kernel mode is used based on an address offset of the IP. >>>> Since you'd want to have your guest running in user mode, you're pretty >>>> much lost there. >>> >>> I guess that would qualify as a pitfall. Thanks Avi and Alex. >> >> After thinking about this some more, I think this means we can't run >> an unmodified guest. It should be possible to build the guest kernel >> to run in supervisor or user mode/address space. >> >> I'm new to MIPS, so I'm still looking for other challenges in virtualizing >> the instruction set. > > Hi Dale, how is this going? > > Hollis Blanchard > Mentor Graphics, Embedded Systems Division Unfortunately, I haven't been able to spend much time on it. So, it's not really going. -Dale ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-08-13 5:11 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-03-25 16:54 KVM on MIPS? Dale Farnsworth 2010-03-25 21:04 ` Avi Kivity 2010-03-25 22:32 ` Alexander Graf 2010-03-26 16:16 ` Dale Farnsworth 2010-03-26 19:59 ` Dale Farnsworth 2010-03-27 1:09 ` Nolan 2010-08-12 21:26 ` Hollis Blanchard 2010-08-13 4:24 ` Dale Farnsworth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox