Is there any method to copy files from the guest to host? I use virbr networking where the host and the guest have different static IPs. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Aug 17, 2011 at 12:44 PM, Rakesh Chawda <rakesh@vivainfomedia.com> wrote:> Is there any method to copy files from the guest to host? I use virbr > networking where the host and the guest have different static IPs. > _______________________________________________There are many ways: scp - which is easiest IMO NFS SMB FTP or, mount the domU''s image on the dom0 and copy the files to the mounted folders. but the domU needs to be shutdown for this. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
So, for the first 4 options, I''ll have to use internet. Can I, by any chance, setup any internal networking like NAT or something, by which I can transfer files directly, i.e without internet? On Thu, Aug 18, 2011 at 3:41 PM, Rudi Ahlers <Rudi@softdux.com> wrote:> On Wed, Aug 17, 2011 at 12:44 PM, Rakesh Chawda > <rakesh@vivainfomedia.com> wrote: > > Is there any method to copy files from the guest to host? I use virbr > > networking where the host and the guest have different static IPs. > > _______________________________________________ > > > > There are many ways: > > scp - which is easiest IMO > NFS > SMB > FTP > or, mount the domU''s image on the dom0 and copy the files to the > mounted folders. but the domU needs to be shutdown for this. > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Office: 087 805 9573 > Cell: 082 554 7532 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Grant McWilliams
2011-Aug-18 19:36 UTC
Re: [Xen-users] Copy files from Centos Guest to Host
On Wed, Aug 17, 2011 at 3:44 AM, Rakesh Chawda <rakesh@vivainfomedia.com>wrote:> Is there any method to copy files from the guest to host? I use virbr > networking where the host and the guest have different static IPs. > >Just treat them like two separate hosts on a network. I use scp. scp -c arcfour sourcefile.bin host:/srv/xen/destinationfile.bin Replace sourcefile.bin with the file you want to copy Replace host with the remote host ip address Replace destinationfile.bin with the destination path I use -c arcfour because it''s the lightest encryption. It''s worth about another 10-20 MB/sec Grant McWilliams http://grantmcwilliams.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rakesh Chawda wrote:>So, for the first 4 options, I''ll have to use internet.No>Can I, by any chance, setup any internal networking like NAT or >something, by which I can transfer files directly, i.e without >internet?The only requirement is that they can be reached by IP packets from each other. Whether this is available in your current configuration depends on your config. But taking a setup : Both Dom0 and guests are on a common private network behind a NAT gateway; just access other systems by their private (RFC1918) addresses - no internet involved. Alternatively, you can add a private internal network which is completely separate from other networking. Add a bridge on Dom0 which has no physical interfaces attached to it. Add a second VIF for each guest that is attached to this bridge. Give them all RFC1918 addresses and you have a private network between host and guests. If you want this private network to extend to other hosts and guests on it, or to your internal network, then connect a physical interface to it. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Grant McWilliams
2011-Aug-19 23:50 UTC
Re: [Xen-users] Copy files from Centos Guest to Host
On Fri, Aug 19, 2011 at 8:04 AM, Simon Hobson <linux@thehobsons.co.uk>wrote:> Rakesh Chawda wrote: > >> So, for the first 4 options, I''ll have to use internet > > > > Can I, by any chance, setup any internal networking like NAT or something, >> by which I can transfer files directly, i.e without internet? >> > > The only requirement is that they can be reached by IP packets from each > other. Whether this is available in your current configuration depends on > your config. > > But taking a setup : Both Dom0 and guests are on a common private network > behind a NAT gateway; just access other systems by their private (RFC1918) > addresses - no internet involved. > > Alternatively, you can add a private internal network which is completely > separate from other networking. Add a bridge on Dom0 which has no physical > interfaces attached to it. Add a second VIF for each guest that is attached > to this bridge. Give them all RFC1918 addresses and you have a private > network between host and guests. If you want this private network to extend > to other hosts and guests on it, or to your internal network, then connect a > physical interface to it. > >I think from his original post he has multiple DomU''s plugged into the same bridge so all he has to do is scp between the IPs and be done with it. If those bridges are on different subnets then we have a different situation. Grant McWilliams http://www.grantmcwilliams.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, Grant. I have multiple DomU''s atached to the same bridge. And both the IPs are of same subnet. I just used scp, and it worked fine, as it happens normally. The only question, was any internet involved? Just for knowledge. The IPs are like a.b.c.1 and a.b.c.2. On Sat, Aug 20, 2011 at 5:20 AM, Grant McWilliams < grantmasterflash@gmail.com> wrote:> > On Fri, Aug 19, 2011 at 8:04 AM, Simon Hobson <linux@thehobsons.co.uk>wrote: > >> Rakesh Chawda wrote: >> >>> So, for the first 4 options, I''ll have to use internet >> >> >> >> Can I, by any chance, setup any internal networking like NAT or >>> something, by which I can transfer files directly, i.e without internet? >>> >> >> The only requirement is that they can be reached by IP packets from each >> other. Whether this is available in your current configuration depends on >> your config. >> >> But taking a setup : Both Dom0 and guests are on a common private network >> behind a NAT gateway; just access other systems by their private (RFC1918) >> addresses - no internet involved. >> >> Alternatively, you can add a private internal network which is completely >> separate from other networking. Add a bridge on Dom0 which has no physical >> interfaces attached to it. Add a second VIF for each guest that is attached >> to this bridge. Give them all RFC1918 addresses and you have a private >> network between host and guests. If you want this private network to extend >> to other hosts and guests on it, or to your internal network, then connect a >> physical interface to it. >> >> > I think from his original post he has multiple DomU''s plugged into the same > bridge so all he has to do is scp between the IPs and be done with it. If > those bridges are on different subnets then we have a different situation. > > Grant McWilliams > http://www.grantmcwilliams.com > > _______________________________________________ > 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
Erik Lind
2011-Aug-20 11:59 UTC
[Xen-users] XEN 4.1.1 + IGD passthrough and Intel DQ67SW, i7-2600
Hi I''m running XEN 4.1.1 (have tested 4.2 unstable too) and I''m trying to do graphics passthrough of my on board/chip GPU. I have been struggling for quite some time without success. Passthrough as such does work but when loading the proper drivers for the GPU it does not, and then Windows just stops loading. First attempt was to use Windows 7, I did try both 32 and 64 bit versions and it did not work. Then I did an attempt with XP 32bit and to much surprise it did work (at least it starts up properly haven''t tested it that much yet). After that I tried with Vista 32 bit, just to see, and it did not work. In short I suppose there is some issue with the gfx drivers for Vista and Windows 7 or possibly there is some other difference between the OS:es. Or is it just something else that I''m missing? Has anyone been able to get XEN and IGD passthrough to work with proper drivers in Windows 7 and fairly new HW? Any suggestions how to proceed with troubleshooting? Thanks in advance /Erik _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Aug 20, 2011 at 8:19 AM, Rakesh Chawda <rakesh@vivainfomedia.com> wrote:> Yes, Grant. I have multiple DomU''s atached to the same bridge. And both the > IPs are of same subnet. I just used scp, and it worked fine, as it happens > normally. The only question, was any internet involved? Just for knowledge. > The IPs are like a.b.c.1 and a.b.c.2.No, If you transfer data from 1.2.3.4 to 1.2.3.5 - and they''re on the same subnet then the data doesn''t travel past the default gateway. Thus, no internet traffic was used. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rakesh Chawda wrote:>Yes, Grant. I have multiple DomU''s atached to the same bridge. And >both the IPs are of same subnet. I just used scp, and it worked >fine, as it happens normally. The only question, was any internet >involved? Just for knowledge. > >The IPs are like a.b.c.1 and a.b.c.2.No, if the IPs are in the same subnet then the traffic will go directly between the machines. This is pretty fundamental stuff, and without wishing to sound rude then I''d suggest you''d benefit from very basic IP knowledge which seems to be lacking. A grasp of the networking fundamentals will be a great help to you. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2011-Aug-26 13:31 UTC
[Xen-devel] Re: [Xen-users] XEN 4.1.1 + IGD passthrough and Intel DQ67SW, i7-2600
On Sat, Aug 20, 2011 at 01:59:07PM +0200, Erik Lind wrote:> Hi >Hi, added xen-devel to cc.> I''m running XEN 4.1.1 (have tested 4.2 unstable too) and I''m trying to > do graphics passthrough of my on board/chip GPU. >What distro is dom0? and what dom0 kernel?> I have been struggling for quite some time without success. > > Passthrough as such does work but when loading the proper drivers for > the GPU it does not, and then Windows just stops loading. >What version of Intel gfx drivers?> First attempt was to use Windows 7, I did try both 32 and 64 bit > versions and it did not work. > > Then I did an attempt with XP 32bit and to much surprise it did work (at > least it starts up properly haven''t tested it that much yet). > > After that I tried with Vista 32 bit, just to see, and it did not work. > > In short I suppose there is some issue with the gfx drivers for Vista > and Windows 7 or possibly there is some other difference between the > OS:es. Or is it just something else that I''m missing? > > Has anyone been able to get XEN and IGD passthrough to work with proper > drivers in Windows 7 and fairly new HW? Any suggestions how to proceed > with troubleshooting? > > Thanks in advance >Please also post your grub.conf entry and /etc/xen/<vm> cfgfile! -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Erik Lind
2011-Aug-27 18:51 UTC
[Xen-devel] Re: [Xen-users] XEN 4.1.1 + IGD passthrough and Intel DQ67SW, i7-2600
Pasi Kärkkäinen
2011-Aug-28 10:15 UTC
[Xen-devel] Re: [Xen-users] XEN 4.1.1 + IGD passthrough and Intel DQ67SW, i7-2600
On Sat, Aug 27, 2011 at 08:51:40PM +0200, Erik Lind wrote:> Hi Pasi, > and thank you for your reply. > > Currently I use Debian squeeze as Dom0, > I use a kernel from the devel/xen-pciback-0.6.1 branch at > git.kernel.org/?p=linux/kernel/git/konrad/xen.git. It is a 3.0.0-rc4 > based kernel. > > I have been trying for the last day to get some other Dom0 kernel to > work but I have so far been unable to get the pciback module to work on > those kernels (such as the master branch or stable/2.6.39.x). I do > prefer a fairly late kernel to get problem support for the motherboard > and cpu. >Did you try latest upstream Linux 3.1-rc3+ ? it includes xen-pciback.> I have been using a few different Intel drivers, the ones included in > Windows 7 which are from March and newer ones ( from mid August) but > with the same result. >Ok. Maybe Intel developers can comment which driver version should work with win7.> I have been trying with a few different boot options, but the last try > was with the most basic configuration possible. (included as > grub.conf.gz) > > Also included is the somewhat messy vm config file, xen_htpc1.cfg.gz > > I have included startup logs for two different runs, one with Windows > standard vga drivers (taged with svga_) and with Intel drivers (taged > with intel_). Not sure if that gives any further clues. > > I also added info from lspci -vv. >-- Pasi> /Erik > > On 08/26/2011 03:31 PM, Pasi Kärkkäinen wrote: >> On Sat, Aug 20, 2011 at 01:59:07PM +0200, Erik Lind wrote: >>> Hi >>> >> Hi, >> >> added xen-devel to cc. >> >>> I''m running XEN 4.1.1 (have tested 4.2 unstable too) and I''m trying to >>> do graphics passthrough of my on board/chip GPU. >>> >> What distro is dom0? and what dom0 kernel? >> >>> I have been struggling for quite some time without success. >>> >>> Passthrough as such does work but when loading the proper drivers for >>> the GPU it does not, and then Windows just stops loading. >>> >> What version of Intel gfx drivers? >> >> >>> First attempt was to use Windows 7, I did try both 32 and 64 bit >>> versions and it did not work. >>> >>> Then I did an attempt with XP 32bit and to much surprise it did work (at >>> least it starts up properly haven''t tested it that much yet). >>> >>> After that I tried with Vista 32 bit, just to see, and it did not work. >>> >>> In short I suppose there is some issue with the gfx drivers for Vista >>> and Windows 7 or possibly there is some other difference between the >>> OS:es. Or is it just something else that I''m missing? >>> >>> Has anyone been able to get XEN and IGD passthrough to work with proper >>> drivers in Windows 7 and fairly new HW? Any suggestions how to proceed >>> with troubleshooting? >>> >>> Thanks in advance >>> >> Please also post your grub.conf entry and /etc/xen/<vm> cfgfile! >> >> -- Pasi >> >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Erik Lind
2011-Aug-28 19:52 UTC
[Xen-devel] Re: [Xen-users] XEN 4.1.1 + IGD passthrough and Intel DQ67SW, i7-2600
Hi I have now tried with the new 3.1.0-rc3 kernel (and latest 4.2 XEN), with the exact same result. It passthrough works fine before loading the proper drivers, but hangs at startup with correct drivers. I forgot to mention that I did try to install Win 7 on this computer without XEN and everything worked fine, so the drivers provided by Intel do work. /Erik On 08/28/2011 12:15 PM, Pasi Kärkkäinen wrote:> On Sat, Aug 27, 2011 at 08:51:40PM +0200, Erik Lind wrote: >> Hi Pasi, >> and thank you for your reply. >> >> Currently I use Debian squeeze as Dom0, >> I use a kernel from the devel/xen-pciback-0.6.1 branch at >> git.kernel.org/?p=linux/kernel/git/konrad/xen.git. It is a 3.0.0-rc4 >> based kernel. >> >> I have been trying for the last day to get some other Dom0 kernel to >> work but I have so far been unable to get the pciback module to work on >> those kernels (such as the master branch or stable/2.6.39.x). I do >> prefer a fairly late kernel to get problem support for the motherboard >> and cpu. >> > Did you try latest upstream Linux 3.1-rc3+ ? it includes xen-pciback. > >> I have been using a few different Intel drivers, the ones included in >> Windows 7 which are from March and newer ones ( from mid August) but >> with the same result. >> > Ok. Maybe Intel developers can comment which driver version should work with win7. > > >> I have been trying with a few different boot options, but the last try >> was with the most basic configuration possible. (included as >> grub.conf.gz) >> >> Also included is the somewhat messy vm config file, xen_htpc1.cfg.gz >> >> I have included startup logs for two different runs, one with Windows >> standard vga drivers (taged with svga_) and with Intel drivers (taged >> with intel_). Not sure if that gives any further clues. >> >> I also added info from lspci -vv. >> > > -- Pasi > > >> /Erik >> >> On 08/26/2011 03:31 PM, Pasi Kärkkäinen wrote: >>> On Sat, Aug 20, 2011 at 01:59:07PM +0200, Erik Lind wrote: >>>> Hi >>>> >>> Hi, >>> >>> added xen-devel to cc. >>> >>>> I''m running XEN 4.1.1 (have tested 4.2 unstable too) and I''m trying to >>>> do graphics passthrough of my on board/chip GPU. >>>> >>> What distro is dom0? and what dom0 kernel? >>> >>>> I have been struggling for quite some time without success. >>>> >>>> Passthrough as such does work but when loading the proper drivers for >>>> the GPU it does not, and then Windows just stops loading. >>>> >>> What version of Intel gfx drivers? >>> >>> >>>> First attempt was to use Windows 7, I did try both 32 and 64 bit >>>> versions and it did not work. >>>> >>>> Then I did an attempt with XP 32bit and to much surprise it did work (at >>>> least it starts up properly haven''t tested it that much yet). >>>> >>>> After that I tried with Vista 32 bit, just to see, and it did not work. >>>> >>>> In short I suppose there is some issue with the gfx drivers for Vista >>>> and Windows 7 or possibly there is some other difference between the >>>> OS:es. Or is it just something else that I''m missing? >>>> >>>> Has anyone been able to get XEN and IGD passthrough to work with proper >>>> drivers in Windows 7 and fairly new HW? Any suggestions how to proceed >>>> with troubleshooting? >>>> >>>> Thanks in advance >>>> >>> Please also post your grub.conf entry and /etc/xen/<vm> cfgfile! >>> >>> -- Pasi >>> >>> > > > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2011-Aug-29 19:44 UTC
Re: [Xen-devel] Re: [Xen-users] XEN 4.1.1 + IGD passthrough and Intel DQ67SW, i7-2600
On Sat, Aug 27, 2011 at 08:51:40PM +0200, Erik Lind wrote:> Hi Pasi, > and thank you for your reply. > > Currently I use Debian squeeze as Dom0, > I use a kernel from the devel/xen-pciback-0.6.1 branch at > git.kernel.org/?p=linux/kernel/git/konrad/xen.git. It is a 3.0.0-rc4 > based kernel. > > I have been trying for the last day to get some other Dom0 kernel to > work but I have so far been unable to get the pciback module to work > on those kernels (such as the master branch or stable/2.6.39.x). I > do prefer a fairly late kernel to get problem support for the > motherboard and cpu.Um, try the #master brach - it has been updated to 3.0.3. But the problem is likely not with the kernel - but rather with the QEMU toolstack. I should one of these days try to pass in some form of video card to see how it fares.> > I have been using a few different Intel drivers, the ones included > in Windows 7 which are from March and newer ones ( from mid August) > but with the same result. > > I have been trying with a few different boot options, but the last > try was with the most basic configuration possible. (included as > grub.conf.gz) > > Also included is the somewhat messy vm config file, xen_htpc1.cfg.gz > > I have included startup logs for two different runs, one with > Windows standard vga drivers (taged with svga_) and with Intel > drivers (taged with intel_). Not sure if that gives any further > clues. > > I also added info from lspci -vv. > > /Erik > > On 08/26/2011 03:31 PM, Pasi Kärkkäinen wrote: > >On Sat, Aug 20, 2011 at 01:59:07PM +0200, Erik Lind wrote: > >>Hi > >> > >Hi, > > > >added xen-devel to cc. > > > >>I''m running XEN 4.1.1 (have tested 4.2 unstable too) and I''m trying to > >>do graphics passthrough of my on board/chip GPU. > >> > >What distro is dom0? and what dom0 kernel? > > > >>I have been struggling for quite some time without success. > >> > >>Passthrough as such does work but when loading the proper drivers for > >>the GPU it does not, and then Windows just stops loading. > >> > >What version of Intel gfx drivers? > > > > > >>First attempt was to use Windows 7, I did try both 32 and 64 bit > >>versions and it did not work. > >> > >>Then I did an attempt with XP 32bit and to much surprise it did work (at > >>least it starts up properly haven''t tested it that much yet). > >> > >>After that I tried with Vista 32 bit, just to see, and it did not work. > >> > >>In short I suppose there is some issue with the gfx drivers for Vista > >>and Windows 7 or possibly there is some other difference between the > >>OS:es. Or is it just something else that I''m missing? > >> > >>Has anyone been able to get XEN and IGD passthrough to work with proper > >>drivers in Windows 7 and fairly new HW? Any suggestions how to proceed > >>with troubleshooting? > >> > >>Thanks in advance > >> > >Please also post your grub.conf entry and /etc/xen/<vm> cfgfile! > > > >-- Pasi > > > > >> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel