> On Mar 11, 2015, at 2:23 PM, John D Groenveld <jdg...@elvis.arl.psu.edu> 
> wrote:
> 
> In message <5f988f8f-d3c4-4085-98c6-2d0d3d27e...@omniti.com>, Dan McDonald 
> writ
> es:
>> This most recent update to bloody has put the /dev/kvm device entry into 
>> non-g
>> lobal ipkg or lipkg zones.  The idea is you can run KVM instances in zones, 
>> wh
>> ich is something not available in r151012 or earlier.
> 
> You can run a single KVM instance in a zone with r151012
> but you must add /dev/dld and /dev/kvm.

Oh hell!  I actually didn't add KVM into the platform.xml files.  /dev/dld *is* 
in the zones, if you use exclusive-stack (and I don't know a good reason NOT to 
these days...).

So your script still needs to add /dev/kvm, until I patch illumos-omnios with 
/dev/kvm in the appropriate platform.xml files.

>> I've not been able to test this yet, so I cannot yet make the claim that 
>> "you 
>> can run KVM in a zone starting with r151014".  I would appreciate some 
>> communi
>> ty help here.  I have *some* availability for questions and help, but I 
>> really
>> would like someone to take this and run with it.
> 
> Awesome!
> Now to hunt down some raw iron for bloody.

I'm going to have to push this back:

commit af30091afd0ccd9320c3aee83ac15318e8d9e78f
Author: Dan McDonald <dan...@omniti.com>
Date:   Wed Mar 11 15:02:54 2015 -0400

    Add kvm device accessability to ipkg/lipkg zones.

diff --git a/usr/src/lib/brand/ipkg/zone/platform.xml 
b/usr/src/lib/brand/ipkg/zone/platform.xml
index db40c9f..1e4fd5c 100644
--- a/usr/src/lib/brand/ipkg/zone/platform.xml
+++ b/usr/src/lib/brand/ipkg/zone/platform.xml
@@ -54,6 +54,7 @@
        <device match="fd" />
        <device match="ipnet" />
        <device match="kstat" />
+       <device match="kvm" />
        <device match="lo0" />
        <device match="lofictl" />
        <device match="lofi" />
diff --git a/usr/src/lib/brand/lipkg/zone/platform.xml 
b/usr/src/lib/brand/lipkg/zone/platform.xml
index c5c6041..7433d22 100644
--- a/usr/src/lib/brand/lipkg/zone/platform.xml
+++ b/usr/src/lib/brand/lipkg/zone/platform.xml
@@ -54,6 +54,7 @@
        <device match="fd" />
        <device match="ipnet" />
        <device match="kstat" />
+       <device match="kvm" />
        <device match="lo0" />
        <device match="lofictl" />
        <device match="lofi" />

Thanks for the help and reality check!
Dan

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to