From patchwork Thu Jun 19 15:07:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolay Nikolaev X-Patchwork-Id: 361905 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7AC2E14008B for ; Fri, 20 Jun 2014 01:08:35 +1000 (EST) Received: from localhost ([::1]:36165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxdx3-0003hc-Dc for incoming@patchwork.ozlabs.org; Thu, 19 Jun 2014 11:08:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxdwR-0002fB-Dw for qemu-devel@nongnu.org; Thu, 19 Jun 2014 11:08:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxdwJ-0003u6-TB for qemu-devel@nongnu.org; Thu, 19 Jun 2014 11:07:55 -0400 Received: from mail-we0-f177.google.com ([74.125.82.177]:51470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxdwJ-0003tc-Nw for qemu-devel@nongnu.org; Thu, 19 Jun 2014 11:07:47 -0400 Received: by mail-we0-f177.google.com with SMTP id u56so2422437wes.8 for ; Thu, 19 Jun 2014 08:07:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:from:to:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=9dgs5WfpHPNUoCKqQj3sJNsgIv6pVYQojUpXZ74lFOg=; b=VF3OrlPRGkbqzRGhyXidknplGslz96FGn79IwoMZLlLx4ZPl4mnX8iF5qg3hqhzUh4 MTF8KTEbxkf3U4HW5oY9KAqWNWLXv3HJBFg0xTcsXExb0oasjm3SFhv8mH7f/qydfxyf 4soHqbyuJfaAupYRAYUP9dtlTOaDzUMZz0TYyGvmdKynOIxYgNHTrbDto1rkKDd+NrLT 1+TxbW2OG8mv7YWraUk2W70pDiK2oP1Yiq64e5vxuMM7ofDVT3dwBBG4rF0wasdcddkm DBrA2Q1wkYo2dfoDe2wK+gh1F7H/jty6wsHKtvw+rTkBxds4ogKTe3olyramqMMTmA8/ mKCg== X-Gm-Message-State: ALoCoQlzPuN2z673rG1cgwlJVKWHp83Fy7x7vpIn+Wcnvv4dfFsnEbrKOIoxiiuOlUOC/SMu7CnQ X-Received: by 10.180.211.106 with SMTP id nb10mr7410916wic.9.1403190467059; Thu, 19 Jun 2014 08:07:47 -0700 (PDT) Received: from [0.0.14.236] ([82.146.27.14]) by mx.google.com with ESMTPSA id fb15sm12287233wid.23.2014.06.19.08.07.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jun 2014 08:07:46 -0700 (PDT) From: Nikolay Nikolaev To: snabb-devel@googlegroups.com, qemu-devel@nongnu.org, mst@redhat.com Date: Thu, 19 Jun 2014 18:07:40 +0300 Message-ID: <20140619150727.10499.7626.stgit@3820> In-Reply-To: <20140619150355.10499.53297.stgit@3820> References: <20140619150355.10499.53297.stgit@3820> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.177 Cc: tech@virtualopensystems.com, n.nikolaev@virtualopensystems.com Subject: [Qemu-devel] [PATCH 2/6] libqemustub: add more stubs for qemu-char X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Additional stubs: - chr_baum_init - qemu_chr_open_spice_vmc - qemu_chr_open_spice_port Signed-off-by: Nikolay Nikolaev --- stubs/Makefile.objs | 2 ++ stubs/chr-baum-init.c | 7 +++++++ stubs/qemu-chr-open-spice.c | 12 ++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 stubs/chr-baum-init.c create mode 100644 stubs/qemu-chr-open-spice.c diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index 997d68d..2312076 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -1,5 +1,6 @@ stub-obj-y += arch-query-cpu-def.o stub-obj-y += bdrv-commit-all.o +stub-obj-y += chr-baum-init.o stub-obj-y += chr-msmouse.o stub-obj-y += clock-warp.o stub-obj-y += cpu-get-clock.o @@ -24,6 +25,7 @@ stub-obj-y += mon-set-error.o stub-obj-y += monitor-init.o stub-obj-y += notify-event.o stub-obj-y += pci-drive-hot-add.o +stub-obj-y += qemu-chr-open-spice.o stub-obj-y += qtest.o stub-obj-y += reset.o stub-obj-y += runstate-check.o diff --git a/stubs/chr-baum-init.c b/stubs/chr-baum-init.c new file mode 100644 index 0000000..f5cc6ce --- /dev/null +++ b/stubs/chr-baum-init.c @@ -0,0 +1,7 @@ +#include "qemu-common.h" +#include "sysemu/char.h" + +CharDriverState *chr_baum_init(void) +{ + return NULL; +} diff --git a/stubs/qemu-chr-open-spice.c b/stubs/qemu-chr-open-spice.c new file mode 100644 index 0000000..40a29a9 --- /dev/null +++ b/stubs/qemu-chr-open-spice.c @@ -0,0 +1,12 @@ +#include "qemu-common.h" +#include "ui/qemu-spice.h" + +CharDriverState *qemu_chr_open_spice_vmc(const char *type) +{ + return NULL; +} + +CharDriverState *qemu_chr_open_spice_port(const char *name) +{ + return NULL; +}