From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Nesterov Subject: [PATCH 0/3] kvmtool: tiny init fox x86_64 Date: Mon, 19 Oct 2015 12:59:30 +0200 Message-ID: <20151019105930.GA12411@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Andre Przywara , Dimitri Ledkov , Ingo Molnar , Pekka Enberg , Will Deacon Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56007 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750904AbbJSLDA (ORCPT ); Mon, 19 Oct 2015 07:03:00 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Hello, Yesterday I discovered kvmtool and it looks really cool! Thanks! Looks like, it does exactly what I need. But the static /virt/init doesn't look good. This series lessens the size of lkvm binary from 1045952 to 196200 bytes on x86_64, but this is minor. I want to write my /virt/init in shell or perl and this change can help. I don't really know who should be cc'ed, I've picked some names from git-log guest/init.c. Oleg. .gitignore | 1 + Makefile | 26 +++++++++++++++++++++----- builtin-run.c | 4 ++++ builtin-setup.c | 36 ++++++++++++++++++++++++++---------- guest/init.c | 2 ++ x86/init.S | 38 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 92 insertions(+), 15 deletions(-)