Hi all,

Here's a new webrev for bug #4118:

  http://defect.opensolaris.org/bz/show_bug.cgi?id=4118
  Add meta package for xVM dom0

Webrev is at:

  http://cr.opensolaris.org/~richb/pkg-4118-v3/

Local repository:

  http://stard.sfbay.sun.com:24118

This includes feedback from John Levon (thanks!)

There are now two Hypervisor packages:

Package 'xvm-gui'
  Version: 0.5.11-0.101
  Description: Solaris x86 Hypervisor management GUI
  Classification: org.opensolaris.category.2008:System/Virtualization
    open [EMAIL PROTECTED]
    xvm-gui add depend require [EMAIL PROTECTED]
    xvm-gui add depend require [EMAIL PROTECTED]
    xvm-gui add set description=Solaris x86 Hypervisor management GUI
    xvm-gui add set 
info.classification=org.opensolaris.category.2008:System/Virtualization
    close
pkg:/[EMAIL PROTECTED],5.11-0.101:20081125T185507Z: PUBLISHED

Package 'xvm'
  Version: 0.5.11-0.101
  Description: Solaris x86 Hypervisor
  Classification: org.opensolaris.category.2008:System/Virtualization
    open [EMAIL PROTECTED]
    xvm add depend require [EMAIL PROTECTED]
    xvm add depend require [EMAIL PROTECTED]
    xvm add set description=Solaris x86 Hypervisor
    xvm add set 
info.classification=org.opensolaris.category.2008:System/Virtualization
    close
pkg:/[EMAIL PROTECTED],5.11-0.101:20081125T185507Z: PUBLISHED

I've installed them on my OpenSolaris 2008.11 RC2 machine with:
 
  $ pfexec pkg set-authority -P -O http://stard.sfbay.sun.com:24118 bug-4118

  $ pfexec pkg install xvm
  PHASE                                        ACTIONS
  Install Phase                                    5/5
  PHASE                                          ITEMS
  Reading Existing Index                           9/9
  Indexing Packages                                1/1

  $ pfexec pkg install xvm-gui
  DOWNLOAD                                    PKGS       FILES     XFER (MB)
  Completed                                    2/2       94/94     
0.95/0.95

  PHASE                                        ACTIONS
  Install Phase                                135/135
  PHASE                                          ITEMS
  Reading Existing Index                           9/9
  Indexing Packages                                2/2

  $ pfexec pkg set-authority -P opensolaris.org
  $ pfexec pkg unset-authority bug-4118

Then tested it with:

  $ pfexec svcadm enable -r system/xvm/domains
  $ pfexec svcadm enable -r system/xvm/virtd

I then created a new GRUB entry in /rpool/boot/grub/menu.lst

  title Solaris xVM
  findroot (pool_rpool,0,a)
  kernel$ /boot/$ISADIR/xen.gz
  module$ /platform/i86xpv/kernel/$ISADIR/unix 
/platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS
  module$ /platform/i86pc/$ISADIR/boot_archive

and rebooted into it.

I was then able to run:

  $ pfexec virsh list
   Id Name                 State
  ----------------------------------
    0 Domain-0             running

  $ pfexec xm list
  Name                                        ID   Mem VCPUs      
State   Time(s)
  Domain-0                                     0  7920     2     
r-----     53.4

Thanks.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to