From mboxrd@z Thu Jan 1 00:00:00 1970 From: walimis Subject: Re: [PATCH] kvm tools: Add 'kvm stat' command Date: Tue, 16 Aug 2011 11:10:06 +0800 Message-ID: <20110816031006.GB25779@walimis-desktop> References: <1313418780-4171-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , mingo@elte.hu, asias.hejun@gmail.com, prasadjoshi124@gmail.com, gorcunov@gmail.com, kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:38752 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752390Ab1HPD0R (ORCPT ); Mon, 15 Aug 2011 23:26:17 -0400 Received: by vws1 with SMTP id 1so4438817vws.19 for ; Mon, 15 Aug 2011 20:26:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 15, 2011 at 05:55:39PM +0300, Pekka Enberg wrote: >On Mon, 15 Aug 2011, Sasha Levin wrote: >>+static int do_memstat(const char *name, int pid) >>+{ >>+ printf("Sending memstat command to %s, output should be on the targets' terminal.\n", name); >>+ return kill(pid, SIGKVMMEMSTAT); >>+} > >I applied the patch but I think we should come up with a mechanism to >transport the output back to the command. Doing the printout in the netlink or unix socket? walimis >guest terminal isn't going to work in the long run. > > Pekka >-- >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