* Liu Sheng <liush...@linux.vnet.ibm.com> [2012-07-24 10:31:10]: > Thanks, Lucas. > And I find so many arch related codes are in so many files of kvm autotest and > autotest itself, most of them are in if-else style. As more and more arch will > support kvm, and some cases maybe arch related, it will be hard to manage the > arch related code. Can we have some infrastructure code to put them together > and > give a uniform interface. Just like it is in linux kernel, the arch related > code > are in arch dir, not in every .c file.
Liu, I guess thats a good way to start. or else for every new test, some one has to port it for specific architecture, which is laborious. --Pradeep > > Thanks~ > Liu Sheng > > On Mon, Jul 23, 2012 at 10:10:28PM -0300, Lucas Meneghel Rodrigues wrote: > >Applied your 3-patch series, with small modifications to the last one. > > > >Thanks, > > > >Lucas > > > >On Wed, Jul 18, 2012 at 3:42 AM, Liu Sheng <liush...@linux.vnet.ibm.com> > >wrote: > >> This patch add a nic type spapr-vlan. This nic type shuold be specified > >> when running autotest on power platform. > >> > >> Signed-off-by: Liu Sheng <liush...@linux.vnet.ibm.com> > >> --- > >> client/virt/guest-hw.cfg.sample | 5 +++++ > >> 1 files changed, 5 insertions(+), 0 deletions(-) > >> > >> diff --git a/client/virt/guest-hw.cfg.sample > >> b/client/virt/guest-hw.cfg.sample > >> index d6a5ae2..b63104d 100644 > >> --- a/client/virt/guest-hw.cfg.sample > >> +++ b/client/virt/guest-hw.cfg.sample > >> @@ -38,6 +38,11 @@ variants: > >> dp_regex_serversupportdev = VirtIO Ethernet Adapter #2$ > >> -xennet: > >> # placeholder > >> + - spapr-vlan: > >> + nic_model = spapr-vlan > >> + no ethtool > >> + jumbo: > >> + mtu = 1500 > >> > >> variants: > >> - @up: > >> -- > >> 1.7.7.6 > >> > >> _______________________________________________ > >> Autotest mailing list > >> Autotest@test.kernel.org > >> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest > > > > > > > >-- > >Lucas > > _______________________________________________ > Autotest mailing list > Autotest@test.kernel.org > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest > _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest