I follow the steps of redhat 5 PCI passthrough with Xen, but it say: Run virsh edit (or virsh attach device) and add a device entry in the <devices> section to attach the PCI device to the guest. Only run this command on offline guests. Red Hat Enterprise Linux does not support hotplugging PCI devices at this time How can I put my guest offline? Because I follow the example but I cannot write my changes. centos 5.7 x64 Xen4.1, thanks!!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Nov 12, 2011 at 5:17 AM, Robert Zaleski <rlzaleski@gmail.com> wrote:> I think initially you just have to shut down your domU instance from within > it, since it''s Linux you could do one of the following > /sbin/init 0 > or > shutdown now > Then run the virsh commands from dom0 to update everything. > And then restart your vm, I generally use > xm create <CONFIG> > where <CONFIG> is the name of my domU to reload the config and start the > domU > What''s the link to the tutorial you are following? > Then restart the device > > On Sat, Nov 12, 2011 at 4:37 AM, Periko Support <pheriko.support@gmail.com> > wrote: >> >> I follow the steps of redhat 5 PCI passthrough with Xen, but it say: >> >> Run virsh edit (or virsh attach device) and add a device entry in the >> <devices> section to attach the PCI device to the guest. Only run this >> command on offline guests. Red Hat Enterprise Linux does not support >> hotplugging PCI devices at this time >> >> How can I put my guest offline? >> >> Because I follow the example but I cannot write my changes. >> >> centos 5.7 x64 Xen4.1, thanks!!! >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > >http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/chap-Virtualization-PCI_passthrough.html This is a HVM Windows 7. I had use shutdown, pause, etc but the virsh edit DomU don''t let me do what the paper say: # virsh edit win2k3 <hostdev mode=''subsystem'' type=''pci'' managed=''yes''> <source> <address domain=''0x0000'' bus=''0x00'' slot=''0x1a'' function=''0x7''/> </source> </hostdev> If I try this it send a message error every time I want to save the file, with my domU values: error: XML error: failed to build sexpr Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Niels Dettenbach (Syndicat IT&Internet)
2011-Nov-13 09:11 UTC
Re: [Xen-users] How to put a DomU offline?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Periko Support <pheriko.support@gmail.com> schrieb:>On Sat, Nov 12, 2011 at 5:17 AM, Robert Zaleski <rlzaleski@gmail.com> >wrote: >> I think initially you just have to shut down your domU instance from >within >> it, since it''s Linux you could do one of the following >> /sbin/init 0 >> or >> shutdown now...just as a short addition: xm shutdown yourdomain on the Dom0 (!) should shutdown your DomU too. If your DomU is halted then but still exist (see i.e. xm list) you may have to add a xm destroy yourdomain. If your work with the xl alternative, you should find similiar options (shutdown, destroy) as well. hth good luck, Niels. - -- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com -----BEGIN PGP SIGNATURE----- Version: APG v1.0.8 iIEEAREIAEEFAk6/ibc6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDadIAJ4wOavt+Ih/ Sh54jqnFabYZqI4RqACZAVrz/19o3htPYI7vb/m2sGZIgMw=fIPK -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users