From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLu3E-0007SY-TI for qemu-devel@nongnu.org; Mon, 04 Dec 2017 11:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLu3A-0005ua-2n for qemu-devel@nongnu.org; Mon, 04 Dec 2017 11:57:04 -0500 Date: Mon, 4 Dec 2017 17:56:51 +0100 From: Cornelia Huck Message-ID: <20171204175651.4acffb4e.cohuck@redhat.com> In-Reply-To: <20171204125505.29203-1-david@redhat.com> References: <20171204125505.29203-1-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 for-2.12 0/5] s390x/tcg: CCW hotplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Hildenbrand Cc: qemu-s390x@nongnu.org, qemu-devel@nongnu.org, Christian Borntraeger , Richard Henderson , Alexander Graf , Thomas Huth On Mon, 4 Dec 2017 13:55:00 +0100 David Hildenbrand wrote: > Hotplugging a ccw device currently fails due to different reasons. > > 1. The stored machine check information is partially wrong. > 2. The TOD programmable field cannot be restored. > 3. STCRW cannot get executed. > > With these patches, I am able to sucessfully hotplug e.g. virtio-rng by > issuing "device_add virtio-rng-ccw,id=rng0" to a Linux guest. Thank you for taking care of my unpublished todo list ;) Does device_del also work? > > David Hildenbrand (5): > s390x/kvm: factor out build_channel_report_mcic() into cpu.h > s390x/tcg: fix and cleanup mcck injection > s390x/tcg: implement SET CLOCK PROGRAMMABLE FIELD > s390x/tcg: indicate value of TODPR in STCKE > s390x/tcg: wire up STORE CHANNEL REPORT WORD > > target/s390x/cpu.h | 20 ++++++++++++++++++++ > target/s390x/excp_helper.c | 18 ++++++++---------- > target/s390x/helper.h | 2 ++ > target/s390x/insn-data.def | 3 +++ > target/s390x/internal.h | 6 +++--- > target/s390x/kvm.c | 25 ++----------------------- > target/s390x/misc_helper.c | 20 ++++++++++++++++++++ > target/s390x/translate.c | 20 ++++++++++++++++++++ > 8 files changed, 78 insertions(+), 36 deletions(-) >