From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH v2 OSSTEST 0/18] Implement for driving libvirt via virsh Date: Tue, 2 Dec 2014 16:02:21 +0000 Message-ID: <1417536141.29004.6.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Jim Fehlig , xen-devel List-Id: xen-devel@lists.xenproject.org The following series switches osstest to implement the toolstack via get_host_method_object()->method rather than toolstack()->{Command}." method" etc. This is needed because virsh differs from xm/xl in a few commands. It also implements partial virsh support (simple lifecycle stuff, but not e.g. migration yet). Due to the ts-migration-check logic this means that the libvirt sequence works in so far as it skips/ignores the migration/save+restore related tests. I've not kept notes on what I changes since last time (but noone has really reviewed the v1/RFC anyway ;-)). This time around is more complete in that it implements shutdown etc and the job completes and I've actually removed ->{Command} which was just an aspiration last timearound. I've tested with: test-amd64-amd64-libvirt on a xen-unstable flight, which failed due to http://article.gmane.org/gmane.comp.emulators.xen.devel/224197 and that set of issues. test-amd64-amd64-libvirt on a xen-unstable flight with the above patches added, works. Since this touches xend code paths I've also tested using a xen-4.4-testing based flight: test-amd64-amd64-libvirt test-amd64-amd64-pv (uses xend) test-amd64-amd64-xl (uses xl, duh!) All passed. The last patch stubs out migration a bit but doesn't actually work and obviously shouldn't be applied, it's included for reference. Note that the series still enables useful functionality even without migration (e.g. start/stop/destroy testing) Ian.