Masaki Kanno
2009-May-14 10:11 UTC
[Xen-devel] [PATCH V2] Fix xm pci-list for inactive managed domains
Hi, Virtual slot numbers are shown as follows by this patch. # cat /etc/xen/vm1 | grep pci pci = [ ''01:00.0'',''01:00.1'' ] # xm new vm1 Using config file "/etc/xen/vm1". # xm pci-list vm1 domain bus slot func 0x0 0x01 0x00 0x0 0x0 0x01 0x00 0x1 # cat /etc/xen/vm1 | grep pci pci = [ ''01:00.0@a'',''01:00.1'' ] # xm new vm1 Using config file "/etc/xen/vm1". # xm pci-list vm1 VSlt domain bus slot func 0xa 0x0 0x01 0x00 0x0 - 0x0 0x01 0x00 0x1 # cat /etc/xen/vm1 | grep pci pci = [ ''01:00.0'',''01:00.1@1a'' ] # xm new vm1 Using config file "/etc/xen/vm1". # xm pci-list vm1 VSlt domain bus slot func - 0x0 0x01 0x00 0x0 0x1a 0x0 0x01 0x00 0x1 # cat /etc/xen/vm1 | grep pci pci = [ ''01:00.0@a'',''01:00.1@1a'' ] # xm new vm1 Using config file "/etc/xen/vm1". # xm pci-list vm1 VSlt domain bus slot func 0xa 0x0 0x01 0x00 0x0 0x1a 0x0 0x01 0x00 0x1 Cc: Simon Horman <horms@verge.net.au> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Simon Horman
2009-May-14 11:11 UTC
[Xen-devel] Re: [PATCH V2] Fix xm pci-list for inactive managed domains
On Thu, May 14, 2009 at 07:11:58PM +0900, Masaki Kanno wrote:> Hi, > > Virtual slot numbers are shown as follows by this patch. > > # cat /etc/xen/vm1 | grep pci > pci = [ ''01:00.0'',''01:00.1'' ] > # xm new vm1 > Using config file "/etc/xen/vm1". > # xm pci-list vm1 > domain bus slot func > 0x0 0x01 0x00 0x0 > 0x0 0x01 0x00 0x1 > > > # cat /etc/xen/vm1 | grep pci > pci = [ ''01:00.0@a'',''01:00.1'' ] > # xm new vm1 > Using config file "/etc/xen/vm1". > # xm pci-list vm1 > VSlt domain bus slot func > 0xa 0x0 0x01 0x00 0x0 > - 0x0 0x01 0x00 0x1 > > > # cat /etc/xen/vm1 | grep pci > pci = [ ''01:00.0'',''01:00.1@1a'' ] > # xm new vm1 > Using config file "/etc/xen/vm1". > # xm pci-list vm1 > VSlt domain bus slot func > - 0x0 0x01 0x00 0x0 > 0x1a 0x0 0x01 0x00 0x1 > > > # cat /etc/xen/vm1 | grep pci > pci = [ ''01:00.0@a'',''01:00.1@1a'' ] > # xm new vm1 > Using config file "/etc/xen/vm1". > # xm pci-list vm1 > VSlt domain bus slot func > 0xa 0x0 0x01 0x00 0x0 > 0x1a 0x0 0x01 0x00 0x1 > > > Cc: Simon Horman <horms@verge.net.au> > Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>Hi Kanno-san, this looks good to me. Acked-by: Simon Horman <horms@verge.net.au> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2009-May-14 11:22 UTC
Re: [Xen-devel] Re: [PATCH V2] Fix xm pci-list for inactive manageddomains
Hi Simon, Thanks for your review. Kan Thu, 14 May 2009 21:11:38 +1000, Simon Horman wrote:>On Thu, May 14, 2009 at 07:11:58PM +0900, Masaki Kanno wrote: >> Hi, >> >> Virtual slot numbers are shown as follows by this patch. >> >> # cat /etc/xen/vm1 | grep pci >> pci = [ ''01:00.0'',''01:00.1'' ] >> # xm new vm1 >> Using config file "/etc/xen/vm1". >> # xm pci-list vm1 >> domain bus slot func >> 0x0 0x01 0x00 0x0 >> 0x0 0x01 0x00 0x1 >> >> >> # cat /etc/xen/vm1 | grep pci >> pci = [ ''01:00.0@a'',''01:00.1'' ] >> # xm new vm1 >> Using config file "/etc/xen/vm1". >> # xm pci-list vm1 >> VSlt domain bus slot func >> 0xa 0x0 0x01 0x00 0x0 >> - 0x0 0x01 0x00 0x1 >> >> >> # cat /etc/xen/vm1 | grep pci >> pci = [ ''01:00.0'',''01:00.1@1a'' ] >> # xm new vm1 >> Using config file "/etc/xen/vm1". >> # xm pci-list vm1 >> VSlt domain bus slot func >> - 0x0 0x01 0x00 0x0 >> 0x1a 0x0 0x01 0x00 0x1 >> >> >> # cat /etc/xen/vm1 | grep pci >> pci = [ ''01:00.0@a'',''01:00.1@1a'' ] >> # xm new vm1 >> Using config file "/etc/xen/vm1". >> # xm pci-list vm1 >> VSlt domain bus slot func >> 0xa 0x0 0x01 0x00 0x0 >> 0x1a 0x0 0x01 0x00 0x1 >> >> >> Cc: Simon Horman <horms@verge.net.au> >> Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> > >Hi Kanno-san, > >this looks good to me. > >Acked-by: Simon Horman <horms@verge.net.au> > > > >_______________________________________________ >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
Masaki Kanno
2009-May-14 13:14 UTC
Re: [Xen-devel] [PATCH V2] Fix xm pci-list for inactive managed domains
Hi, Sorry, please ignore the patch. I''m going to send a correct patch tomorrow. Best Thu, 14 May 2009 19:11:58 +0900, Masaki Kanno wrote:>Hi, > >Virtual slot numbers are shown as follows by this patch. > ># cat /etc/xen/vm1 | grep pci >pci = [ ''01:00.0'',''01:00.1'' ] ># xm new vm1 >Using config file "/etc/xen/vm1". ># xm pci-list vm1 >domain bus slot func >0x0 0x01 0x00 0x0 >0x0 0x01 0x00 0x1 > > ># cat /etc/xen/vm1 | grep pci >pci = [ ''01:00.0@a'',''01:00.1'' ] ># xm new vm1 >Using config file "/etc/xen/vm1". ># xm pci-list vm1 >VSlt domain bus slot func >0xa 0x0 0x01 0x00 0x0 >- 0x0 0x01 0x00 0x1 > > ># cat /etc/xen/vm1 | grep pci >pci = [ ''01:00.0'',''01:00.1@1a'' ] ># xm new vm1 >Using config file "/etc/xen/vm1". ># xm pci-list vm1 >VSlt domain bus slot func >- 0x0 0x01 0x00 0x0 >0x1a 0x0 0x01 0x00 0x1 > > ># cat /etc/xen/vm1 | grep pci >pci = [ ''01:00.0@a'',''01:00.1@1a'' ] ># xm new vm1 >Using config file "/etc/xen/vm1". ># xm pci-list vm1 >VSlt domain bus slot func >0xa 0x0 0x01 0x00 0x0 >0x1a 0x0 0x01 0x00 0x1 > > >Cc: Simon Horman <horms@verge.net.au> >Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> > >Best regards, > Kan > > >-------------------------------text/plain------------------------------- >_______________________________________________ >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