* KVM Port
@ 2009-03-25 15:08 kvm port
[not found] ` <cc73a6140903250808n4919e74vb93b3e286fac3614-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: kvm port @ 2009-03-25 15:08 UTC (permalink / raw)
To: kvm, kvm-ppc
Hi KVM Gurus,
We have a EVB with a fpga based RISC processor with VT support.
As a proof of concept i have to port KVM onto it. we have run linux as of now.
can anyof u help with how should i begin
-thanks n regards
kvport bunch
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
[not found] ` <cc73a6140903250808n4919e74vb93b3e286fac3614-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-03-25 16:15 ` Avi Kivity
2009-03-25 16:45 ` kvm port
2009-03-26 1:52 ` Liu Yu-B13201
1 sibling, 1 reply; 11+ messages in thread
From: Avi Kivity @ 2009-03-25 16:15 UTC (permalink / raw)
To: kvm port; +Cc: kvm-u79uwXL29TY76Z2rM5mHXA, kvm-ppc-u79uwXL29TY76Z2rM5mHXA
kvm port wrote:
> Hi KVM Gurus,
>
> We have a EVB with a fpga based RISC processor with VT support.
> As a proof of concept i have to port KVM onto it. we have run linux as of now.
> can anyof u help with how should i begin
>
> -thanks n regards
>
What's a EVB?
What do you mean by a RISC processor with VT support? VT is an x86
instruction set.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
2009-03-25 16:15 ` Avi Kivity
@ 2009-03-25 16:45 ` kvm port
[not found] ` <cc73a6140903250945ob58312agb73538d7b54b24b7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: kvm port @ 2009-03-25 16:45 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm, kvm-ppc
i used a common term, the RISC processor is having virtualization extensions.
A guest mode is added, alongside the user and kernel mode.
On Wed, Mar 25, 2009 at 9:45 PM, Avi Kivity <avi@redhat.com> wrote:
> kvm port wrote:
>>
>> Hi KVM Gurus,
>>
>> We have a EVB with a fpga based RISC processor with VT support.
>> As a proof of concept i have to port KVM onto it. we have run linux as of
>> now.
>> can anyof u help with how should i begin
>>
>> -thanks n regards
>>
>
> What's a EVB?
>
> What do you mean by a RISC processor with VT support? VT is an x86
> instruction set.
>
> --
> error compiling committee.c: too many arguments to function
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
[not found] ` <cc73a6140903250945ob58312agb73538d7b54b24b7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-03-25 16:45 ` kvm port
0 siblings, 0 replies; 11+ messages in thread
From: kvm port @ 2009-03-25 16:45 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-u79uwXL29TY76Z2rM5mHXA, kvm-ppc-u79uwXL29TY76Z2rM5mHXA
EVB = evaluation board.
On Wed, Mar 25, 2009 at 10:15 PM, kvm port <kvmport-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> i used a common term, the RISC processor is having virtualization extensions.
> A guest mode is added, alongside the user and kernel mode.
>
>
>
> On Wed, Mar 25, 2009 at 9:45 PM, Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> kvm port wrote:
>>>
>>> Hi KVM Gurus,
>>>
>>> We have a EVB with a fpga based RISC processor with VT support.
>>> As a proof of concept i have to port KVM onto it. we have run linux as of
>>> now.
>>> can anyof u help with how should i begin
>>>
>>> -thanks n regards
>>>
>>
>> What's a EVB?
>>
>> What do you mean by a RISC processor with VT support? VT is an x86
>> instruction set.
>>
>> --
>> error compiling committee.c: too many arguments to function
>>
>>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: KVM Port
[not found] ` <cc73a6140903250808n4919e74vb93b3e286fac3614-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-25 16:15 ` Avi Kivity
@ 2009-03-26 1:52 ` Liu Yu-B13201
2009-03-26 6:03 ` kvm port
1 sibling, 1 reply; 11+ messages in thread
From: Liu Yu-B13201 @ 2009-03-26 1:52 UTC (permalink / raw)
To: kvm port, kvm-u79uwXL29TY76Z2rM5mHXA,
kvm-ppc-u79uwXL29TY76Z2rM5mHXA
IMHO, one thing you should keep in mind is how to isolate the guest space based on your hardware MMU.
And then deal with the exceptions carefully,
some may be directly send to guest and some should be handled by hypervisor.
In powerpc BOOKE implementation, we have to hijack all exceptions,
because BOOKE doesn't support technic like VT.
> -----Original Message-----
> From: kvm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> [mailto:kvm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of kvm port
> Sent: Wednesday, March 25, 2009 11:08 PM
> To: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Subject: KVM Port
>
> Hi KVM Gurus,
>
> We have a EVB with a fpga based RISC processor with VT support.
> As a proof of concept i have to port KVM onto it. we have run
> linux as of now.
> can anyof u help with how should i begin
>
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
2009-03-26 1:52 ` Liu Yu-B13201
@ 2009-03-26 6:03 ` kvm port
[not found] ` <cc73a6140903252303r4048d6c7p78149cdc91e2b991-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: kvm port @ 2009-03-26 6:03 UTC (permalink / raw)
To: Liu Yu-B13201; +Cc: kvm, kvm-ppc
do we have to port qemu as well?
On Thu, Mar 26, 2009 at 7:22 AM, Liu Yu-B13201 <Yu.Liu@freescale.com> wrote:
>
> IMHO, one thing you should keep in mind is how to isolate the guest space based on your hardware MMU.
> And then deal with the exceptions carefully,
> some may be directly send to guest and some should be handled by hypervisor.
>
> In powerpc BOOKE implementation, we have to hijack all exceptions,
> because BOOKE doesn't support technic like VT.
>
>
>> -----Original Message-----
>> From: kvm-owner@vger.kernel.org
>> [mailto:kvm-owner@vger.kernel.org] On Behalf Of kvm port
>> Sent: Wednesday, March 25, 2009 11:08 PM
>> To: kvm@vger.kernel.org; kvm-ppc@vger.kernel.org
>> Subject: KVM Port
>>
>> Hi KVM Gurus,
>>
>> We have a EVB with a fpga based RISC processor with VT support.
>> As a proof of concept i have to port KVM onto it. we have run
>> linux as of now.
>> can anyof u help with how should i begin
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm-ppc" 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] 11+ messages in thread
* RE: KVM Port
[not found] ` <cc73a6140903252303r4048d6c7p78149cdc91e2b991-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-03-26 6:33 ` Liu Yu-B13201
[not found] ` <0A1FE637C2C7E148B9573BB60CC630E51927BD-bKEhWGtIRUJ4Lp7cDGe+DVjVikpgYyvb5NbjCUgZEJk@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Liu Yu-B13201 @ 2009-03-26 6:33 UTC (permalink / raw)
To: kvm port; +Cc: kvm-u79uwXL29TY76Z2rM5mHXA, kvm-ppc-u79uwXL29TY76Z2rM5mHXA
Yes. At least, you need an application to launch VM.
It's helpful to use qemu to emulate the I/O.
But if your hardware support the technic like iommu, you can move the part into KVM for better performance.
> -----Original Message-----
> From: kvm port [mailto:kvmport-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
> Sent: Thursday, March 26, 2009 2:03 PM
> To: Liu Yu-B13201
> Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Subject: Re: KVM Port
>
> do we have to port qemu as well?
>
> On Thu, Mar 26, 2009 at 7:22 AM, Liu Yu-B13201
> <Yu.Liu-KZfg59tc24xl57MIdRCFDg@public.gmane.org> wrote:
> >
> > IMHO, one thing you should keep in mind is how to isolate
> the guest space based on your hardware MMU.
> > And then deal with the exceptions carefully,
> > some may be directly send to guest and some should be
> handled by hypervisor.
> >
> > In powerpc BOOKE implementation, we have to hijack all exceptions,
> > because BOOKE doesn't support technic like VT.
> >
> >
> >> -----Original Message-----
> >> From: kvm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> >> [mailto:kvm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of kvm port
> >> Sent: Wednesday, March 25, 2009 11:08 PM
> >> To: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> >> Subject: KVM Port
> >>
> >> Hi KVM Gurus,
> >>
> >> We have a EVB with a fpga based RISC processor with VT support.
> >> As a proof of concept i have to port KVM onto it. we have run
> >> linux as of now.
> >> can anyof u help with how should i begin
> >>
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe
> kvm-ppc" in
> > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
[not found] ` <0A1FE637C2C7E148B9573BB60CC630E51927BD-bKEhWGtIRUJ4Lp7cDGe+DVjVikpgYyvb5NbjCUgZEJk@public.gmane.org>
@ 2009-03-26 10:21 ` kvm port
2009-03-26 10:46 ` Avi Kivity
0 siblings, 1 reply; 11+ messages in thread
From: kvm port @ 2009-03-26 10:21 UTC (permalink / raw)
To: Liu Yu-B13201; +Cc: kvm-u79uwXL29TY76Z2rM5mHXA, kvm-ppc-u79uwXL29TY76Z2rM5mHXA
AFAIK KVM userspace app creates a VM using /dev/kvm. Now if IO has a
MMU managed by KVM arch module, do i still need qemu?
On Thu, Mar 26, 2009 at 12:03 PM, Liu Yu-B13201 <Yu.Liu-KZfg59tc24xl57MIdRCFDg@public.gmane.org> wrote:
>
> Yes. At least, you need an application to launch VM.
>
> It's helpful to use qemu to emulate the I/O.
> But if your hardware support the technic like iommu, you can move the part into KVM for better performance.
>
>> -----Original Message-----
>> From: kvm port [mailto:kvmport-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
>> Sent: Thursday, March 26, 2009 2:03 PM
>> To: Liu Yu-B13201
>> Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> Subject: Re: KVM Port
>>
>> do we have to port qemu as well?
>>
>> On Thu, Mar 26, 2009 at 7:22 AM, Liu Yu-B13201
>> <Yu.Liu-KZfg59tc24xl57MIdRCFDg@public.gmane.org> wrote:
>> >
>> > IMHO, one thing you should keep in mind is how to isolate
>> the guest space based on your hardware MMU.
>> > And then deal with the exceptions carefully,
>> > some may be directly send to guest and some should be
>> handled by hypervisor.
>> >
>> > In powerpc BOOKE implementation, we have to hijack all exceptions,
>> > because BOOKE doesn't support technic like VT.
>> >
>> >
>> >> -----Original Message-----
>> >> From: kvm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> >> [mailto:kvm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of kvm port
>> >> Sent: Wednesday, March 25, 2009 11:08 PM
>> >> To: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> >> Subject: KVM Port
>> >>
>> >> Hi KVM Gurus,
>> >>
>> >> We have a EVB with a fpga based RISC processor with VT support.
>> >> As a proof of concept i have to port KVM onto it. we have run
>> >> linux as of now.
>> >> can anyof u help with how should i begin
>> >>
>> >
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe
>> kvm-ppc" in
>> > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>> >
>>
>>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
2009-03-26 10:21 ` kvm port
@ 2009-03-26 10:46 ` Avi Kivity
[not found] ` <49CB5D01.3050005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Avi Kivity @ 2009-03-26 10:46 UTC (permalink / raw)
To: kvm port; +Cc: Liu Yu-B13201, kvm, kvm-ppc
kvm port wrote:
> AFAIK KVM userspace app creates a VM using /dev/kvm. Now if IO has a
> MMU managed by KVM arch module, do i still need qemu?
>
>
qemu is needed to allocate memory, and to emulate devices. For example
the IDE disk controller is implemented in qemu.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
[not found] ` <49CB5D01.3050005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2009-04-04 18:41 ` kvm port
2009-04-06 16:51 ` Hollis Blanchard
0 siblings, 1 reply; 11+ messages in thread
From: kvm port @ 2009-04-04 18:41 UTC (permalink / raw)
To: Avi Kivity
Cc: Liu Yu-B13201, kvm-u79uwXL29TY76Z2rM5mHXA,
kvm-ppc-u79uwXL29TY76Z2rM5mHXA
ok, so these are a few steps to begin
(a) add a QEMUMachine for my h/w in qemu
(b) Add arch support in kvm
I have a few questions
(a) qemu starts in user space, how would I configure my linux. Should
the linux run in Hypervisor state and the apps run in user state, and
nothing runs in guest state [ there are 3 states in my processor]
(b) qemu starts the VM and somehow ( i dont know yet, how?) , starts
my code in processor guest state
-thanks
On Thu, Mar 26, 2009 at 4:16 PM, Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> kvm port wrote:
>>
>> AFAIK KVM userspace app creates a VM using /dev/kvm. Now if IO has a
>> MMU managed by KVM arch module, do i still need qemu?
>>
>>
>
> qemu is needed to allocate memory, and to emulate devices. For example the
> IDE disk controller is implemented in qemu.
>
>
> --
> error compiling committee.c: too many arguments to function
>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: KVM Port
2009-04-04 18:41 ` kvm port
@ 2009-04-06 16:51 ` Hollis Blanchard
0 siblings, 0 replies; 11+ messages in thread
From: Hollis Blanchard @ 2009-04-06 16:51 UTC (permalink / raw)
To: kvm port; +Cc: Avi Kivity, Liu Yu-B13201, kvm, kvm-ppc
On Sun, 2009-04-05 at 00:11 +0530, kvm port wrote:
> ok, so these are a few steps to begin
> (a) add a QEMUMachine for my h/w in qemu
As an alternative, you could start exercising KVM kernel code using
kvm-userspace/test before qemu is ready.
> (b) Add arch support in kvm
>
> I have a few questions
> (a) qemu starts in user space, how would I configure my linux. Should
> the linux run in Hypervisor state and the apps run in user state, and
> nothing runs in guest state [ there are 3 states in my processor]
Are there only 3, or are there two independent dimensions
(hypervisor/guest, user/supervisor)? If there are only 3, you'll need to
figure out how to isolate guest kernel and guest userspace from each
other.
> (b) qemu starts the VM and somehow ( i dont know yet, how?) , starts
> my code in processor guest state
Why are you asking us? You are the processor expert... :)
Qemu calls into KVM via an ioctl, and processor-specific KVM code
(that's you) somehow jumps into guest mode.
--
Hollis Blanchard
IBM Linux Technology Center
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-04-06 16:52 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 15:08 KVM Port kvm port
[not found] ` <cc73a6140903250808n4919e74vb93b3e286fac3614-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-25 16:15 ` Avi Kivity
2009-03-25 16:45 ` kvm port
[not found] ` <cc73a6140903250945ob58312agb73538d7b54b24b7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-25 16:45 ` kvm port
2009-03-26 1:52 ` Liu Yu-B13201
2009-03-26 6:03 ` kvm port
[not found] ` <cc73a6140903252303r4048d6c7p78149cdc91e2b991-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-26 6:33 ` Liu Yu-B13201
[not found] ` <0A1FE637C2C7E148B9573BB60CC630E51927BD-bKEhWGtIRUJ4Lp7cDGe+DVjVikpgYyvb5NbjCUgZEJk@public.gmane.org>
2009-03-26 10:21 ` kvm port
2009-03-26 10:46 ` Avi Kivity
[not found] ` <49CB5D01.3050005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-04-04 18:41 ` kvm port
2009-04-06 16:51 ` Hollis Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox