From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: Re: [kvm-unit-tests PATCH 11/14] powerpc/ppc64: add rtas_power_off Date: Mon, 3 Aug 2015 20:02:52 +0200 Message-ID: <20150803180252.GF7109@hawk.localdomain> References: <1438612891-3718-1-git-send-email-drjones@redhat.com> <1438612891-3718-12-git-send-email-drjones@redhat.com> <55BFA001.6070900@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, dgibson@redhat.com, david@gibson.dropbear.id.au, agraf@suse.de, thuth@redhat.com, lvivier@redhat.com To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42674 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752231AbbHCSC5 (ORCPT ); Mon, 3 Aug 2015 14:02:57 -0400 Content-Disposition: inline In-Reply-To: <55BFA001.6070900@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 03, 2015 at 07:08:17PM +0200, Paolo Bonzini wrote: > > > On 03/08/2015 16:41, Andrew Jones wrote: > > Add enough RTAS support to support power-off, and apply it to > > exit(). > > > > Signed-off-by: Andrew Jones > > Why not use virtio-mmio + testdev on ppc as well? Similar to how we're > not using PSCI on ARM or ACPI on x86. I have some longer term plans to add minimal virtio-pci support to kvm-unit-tests, and then we could plug virtio-serial+chr-testdev into that. I didn't think I could use virtio-mmio directly with spapr, but maybe I can? Actually, I sort of like this approach more in some respects though, as it doesn't require a special testdev or virtio support, keeping the unit test extra minimal. In fact, I was even thinking about posting patches (which I've already written) that allow chr-testdev to be optional for ARM too, now that it could use the exitcode snooper. Thanks, drew > > Paolo > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html