Hi! I'' ve a xen virtual machine, and i'' d like to assign cdrw device to it. My physical device on domain0 is /dev/hda, and in the configuration file i'' ve this: disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'', ''phy:vg0/vx-data,sda5,w'' ] I'' ve tried to assign the cdrom to it in many ways i found in different examples, but none of them worked. I tried to load the cdrom, and ide-generic module, and create the device (with mknod), but didn'' t help. Please help me to solve this problem. Many thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think you should do something like: disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'',''phy:vg0/vx-data,sda5,w'',''phy:hda,sdb,w'' ] S On Jan 3, 2008 12:23 PM, tr1719 <tr1719@freemail.hu> wrote:> Hi! > > I'' ve a xen virtual machine, and i'' d like to assign cdrw device to it. My > physical device on domain0 is /dev/hda, and in the configuration file i'' > ve this: > > disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'', > ''phy:vg0/vx-data,sda5,w'' ] > > I'' ve tried to assign the cdrom to it in many ways i found in different > examples, but none of them worked. I tried to load the cdrom, and > ide-generic module, and create the device (with mknod), but didn'' t help. > > Please help me to solve this problem. > > Many thanks. > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
sven waeyenbergh wrote:> I think you should do something like: > > disk = [ ''phy:vg0/vx-disk,sda1,w'', > ''phy:vg0/vx-swap,sda2,w'',''phy:vg0/vx-data,sda5,w'',''phy:hda,sdb,w'' ]Better you add like, disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'',''phy:vg0/vx-data,sda5,w'',''phy:hda,sdb:cdrom,w'' ] --Sadique> > > S > > On Jan 3, 2008 12:23 PM, tr1719 <tr1719@freemail.hu > <mailto:tr1719@freemail.hu>> wrote: > > Hi! > > I'' ve a xen virtual machine, and i'' d like to assign cdrw device > to it. My > physical device on domain0 is /dev/hda, and in the configuration > file i'' > ve this: > > disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'', > ''phy:vg0/vx-data,sda5,w'' ] > > I'' ve tried to assign the cdrom to it in many ways i found in > different > examples, but none of them worked. I tried to load the cdrom, and > ide-generic module, and create the device (with mknod), but didn'' > t help. > > Please help me to solve this problem. > > Many thanks. > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I'' ve a xen virtual machine, and i'' d like to assign cdrw device to it. My > physical device on domain0 is /dev/hda, and in the configuration file i'' > ve this: > > disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'', > ''phy:vg0/vx-data,sda5,w'' ] > > I'' ve tried to assign the cdrom to it in many ways i found in different > examples, but none of them worked. I tried to load the cdrom, and > ide-generic module, and create the device (with mknod), but didn'' t help. > > Please help me to solve this problem.I assume the other guys'' suggestions helped you with this? I should warn you that you won''t be able to access all the functionality of your CD-ROM drive like this. For instance, you won''t be able to boot off it, or (probably) play CD music directly from it, or burn CDs from the guest. You will be able to mount the filesystem on the CD but that is about all. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I am working on allowing the PV guest virtual frame buffer to be dynamically resized. Works pretty well so far, however when the frame buffer is resized absolute mouse tracking is now off. Turns out if you are using evdev as the InputDevice in xorg.conf it scales the position based on the original window size when X started. I have a work around for this. evtouch scales differently and there is a different work around for it. Neither of the work arounds should be in the guest kernel. I will lobby for changes in the drivers. In any event, if you are using a PV guest and absolute mouse positioning what X input driver are you using? evdev, evtouch, or something else? Thanks in advance Pat _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- Using physical disk in HVM
- Troubles converting a pv host from dom0-hosted kernel to self-contained kernel
- Kernel panic - not syncing: Attempted to kill init!
- anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
- adding lvm root example to xmdomain.cfg.5