How to add cdrom:
# virsh attach-disk your-domain /export/sol-nv-b91-x86-dvd.iso 1
--driver file --type cdrom
How to add disk:
# virsh attach-disk your-domain /dev/zvol/dsk/data/domain_disk2 2
--driver phy --type disk
2008/7/8, Robert G. Sohigian <robs@sun.com>:> I tried that as well. Just cannot figure it out.
>
> Do you have an example?
>
> I''ve been googling as well.
>
> Thanks,
>
> --Robs
>
>
>
> Piotr Jasiukajtis wrote:
>
> > Hi,
> >
> > try ''virsh attach-disk''
> > man virsh.
> >
> > 2008/7/8, Robert G. Sohigian <robs@sun.com>:
> >
> >
> > > Hi.
> > >
> > > I''m trying to attach a dvd to a Vista domU.
Don''t want to boot off of
> > > it, just want to be able to access the dvd''s contents
from the domU.
> > >
> > > I''ve been playing around with various things from the
man pages
> > > regarding block-attach, but cannot seem to get this to work.
> > >
> > > Here''s the block-list:
> > >
> > > # xm block-list vista -l
> > >
> > > -snip-
> > > )
> > > (768
> > > ((backend-id 0)
> > > (virtual-device 768)
> > > (device-type cdrom)
> > > (state 1)
> > > (backend /local/domain/0/backend/vbd/4/768)
> > > )
> > > )
> > > -snip-
> > >
> > > Help would be most appreciated.
> > >
> > > Thanks,
> > >
> > > --Robs
> > >
> > >
> > > _______________________________________________
> > > xen-discuss mailing list
> > > xen-discuss@opensolaris.org
> > >
> > >
> > >
> >
> >
> >
> >
>
>
--
Regards,
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com