From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 808C0C64E8A for ; Wed, 2 Dec 2020 10:00:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2737C20679 for ; Wed, 2 Dec 2020 10:00:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388364AbgLBKAf (ORCPT ); Wed, 2 Dec 2020 05:00:35 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22912 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388247AbgLBKAf (ORCPT ); Wed, 2 Dec 2020 05:00:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606903149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z8AQZAgl1UdsrqF/icNEETV75RA2NfX+ehHLJ3NCqqw=; b=Kq1r/uonnBSAH1jbjHcbExoxR/xzT6kcikXuBbGStrieklNcW663SwHtu0CbVW+ITr31LW 5tR4+aebYPshiDLXcRF6vc81cfHHEXCs/JPU+xnF+OLGFFR1MeTbPg0lyHzMB6L+R31AdO JDx4EGOEpymUFiZ1GG9WMwWcmQkWbBA= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-133-rZXBYnZSPXexmq6MtnsnNQ-1; Wed, 02 Dec 2020 04:59:07 -0500 X-MC-Unique: rZXBYnZSPXexmq6MtnsnNQ-1 Received: by mail-wm1-f71.google.com with SMTP id o203so2654778wmo.3 for ; Wed, 02 Dec 2020 01:59:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Z8AQZAgl1UdsrqF/icNEETV75RA2NfX+ehHLJ3NCqqw=; b=LI32zBcBe7TK31+eL4uTmeaabp2pVl1W+GrrgO5O7VAfZXdPwS6z94OrFo2UeOHKuk PdFAVnARowtTZHUcmV2IuimdE0OHIq8xroOqWI2YlAUcxKIKxjsDTpBbRmHbt1G7uvej Fgicsi9g+AiESc7IFPgphBmBeyq7qjvgsj8TqG23TlQ8Ga7YTY6/ABPOfzL8fxeXd1fs +o1hqmoKclcjIuL4M6g8ooxFFdiEnn7jnrud2K41Z9BDcVBXHRrCBvk+pgvtqQKSdKej ViaFuVvnoSICuYdDJ+10DlL7Y4S5K8KhABhO2UKEPk37UQNUxqqnSqHRgOpJCRJ3Uop9 na8g== X-Gm-Message-State: AOAM530NwYvswGHRi6QMs+lHAVayw/e6pWAsITyDX2izzlczpiVDXHF+ RacmOHHCU2CNWKTWGYApO10gZ8aEwtLZVQA3ZRl1S/t3i1qgIajvsIZtIQN6Wftq1E71iS537gO MMTvJu/56kvNJXclAB2y4JQ== X-Received: by 2002:a7b:cf30:: with SMTP id m16mr2177307wmg.145.1606903146601; Wed, 02 Dec 2020 01:59:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlyOpsA5OFT6XaiG7rTTB0hoZWxmFeJV5oLJmK4wvaw9/zUbY1bAYBODC22GlGVObe124jzQ== X-Received: by 2002:a7b:cf30:: with SMTP id m16mr2177290wmg.145.1606903146488; Wed, 02 Dec 2020 01:59:06 -0800 (PST) Received: from redhat.com (bzq-79-176-44-197.red.bezeqint.net. [79.176.44.197]) by smtp.gmail.com with ESMTPSA id z11sm1418191wmc.39.2020.12.02.01.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 01:59:05 -0800 (PST) Date: Wed, 2 Dec 2020 04:59:03 -0500 From: "Michael S. Tsirkin" To: Mike Christie Cc: stefanha@redhat.com, qemu-devel@nongnu.org, fam@euphon.net, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, jasowang@redhat.com, pbonzini@redhat.com, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 1/1] qemu vhost scsi: add VHOST_SET_VRING_ENABLE support Message-ID: <20201202045807-mutt-send-email-mst@kernel.org> References: <1605223150-10888-1-git-send-email-michael.christie@oracle.com> <1605223150-10888-2-git-send-email-michael.christie@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1605223150-10888-2-git-send-email-michael.christie@oracle.com> Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On Thu, Nov 12, 2020 at 05:19:00PM -0600, Mike Christie wrote: > diff --git a/linux-headers/linux/vhost.h b/linux-headers/linux/vhost.h > index 7523218..98dd919 100644 > --- a/linux-headers/linux/vhost.h > +++ b/linux-headers/linux/vhost.h > @@ -70,6 +70,7 @@ > #define VHOST_VRING_BIG_ENDIAN 1 > #define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state) > #define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state) > +#define VHOST_SET_VRING_ENABLE _IOW(VHOST_VIRTIO, 0x15, struct vhost_vring_state) OK so first we need the kernel patches, then update the header, then we can apply the qemu patch. > /* The following ioctls use eventfd file descriptors to signal and poll > * for events. */ > -- > 1.8.3.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79911C64E7C for ; Wed, 2 Dec 2020 09:59:16 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 05E2E20679 for ; Wed, 2 Dec 2020 09:59:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05E2E20679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=virtualization-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6BBD2877E7; Wed, 2 Dec 2020 09:59:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jFiQi-OTKjol; Wed, 2 Dec 2020 09:59:15 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 0034E87797; Wed, 2 Dec 2020 09:59:14 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id DEA0CC0859; Wed, 2 Dec 2020 09:59:14 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id C376FC0052 for ; Wed, 2 Dec 2020 09:59:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B2B5787A6B for ; Wed, 2 Dec 2020 09:59:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Aua+xG73N-X0 for ; Wed, 2 Dec 2020 09:59:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by whitealder.osuosl.org (Postfix) with ESMTPS id 22F4A872EC for ; Wed, 2 Dec 2020 09:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606903149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z8AQZAgl1UdsrqF/icNEETV75RA2NfX+ehHLJ3NCqqw=; b=Kq1r/uonnBSAH1jbjHcbExoxR/xzT6kcikXuBbGStrieklNcW663SwHtu0CbVW+ITr31LW 5tR4+aebYPshiDLXcRF6vc81cfHHEXCs/JPU+xnF+OLGFFR1MeTbPg0lyHzMB6L+R31AdO JDx4EGOEpymUFiZ1GG9WMwWcmQkWbBA= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-6-jDXW42sFN7aLg2-ykBjZnw-1; Wed, 02 Dec 2020 04:59:07 -0500 X-MC-Unique: jDXW42sFN7aLg2-ykBjZnw-1 Received: by mail-wr1-f70.google.com with SMTP id n1so2840897wro.22 for ; Wed, 02 Dec 2020 01:59:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Z8AQZAgl1UdsrqF/icNEETV75RA2NfX+ehHLJ3NCqqw=; b=Qf8xgl2/M7b903EBQG9JOjdLqdb6UG89hpWkVo0ACxb/cM08Z1k1MrKXBCMAYwZ9MG +bNcwjnX27RaATFzYNtmNMw2mK/D6FANG7Tm4J99ZoCyFAPDYoAVfZJ1cQ/sE4JuR+/c UZHm/37FeJFw3NvmP1l+rzVy8dO4c0wAzbsL8Qzf+5rhBCXGnQaArxtIavgoXgdDi32v 5f/YxjA1KGU14xzp2cRAnRrc3IvQeHpHsEPWstbRiFDTQ8IcwSzizrri5zq8E+8GG1KO ohAim2KhnqlHl0stpkg8rfkmcBxlKnB2X7bzJSsE50hGOROLGqpPZypNESouucnjvVI5 4g2Q== X-Gm-Message-State: AOAM532VUPYP1b9LcvTJq8qin7SNpfVahO0w6QvveXRYkN1e6hsyzcMu AqDLAcmlUU/A1kexAhiHeQPWN+kKvaFNU8z93/Q59WkxfVq02wV2c0PEXCsgpskcpQ0YUYo6TTx w9QXRhOgE5WyuY6iXbsOPGgXJ1eupY2Gnmy+0rKgtJQ== X-Received: by 2002:a7b:cf30:: with SMTP id m16mr2177302wmg.145.1606903146601; Wed, 02 Dec 2020 01:59:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlyOpsA5OFT6XaiG7rTTB0hoZWxmFeJV5oLJmK4wvaw9/zUbY1bAYBODC22GlGVObe124jzQ== X-Received: by 2002:a7b:cf30:: with SMTP id m16mr2177290wmg.145.1606903146488; Wed, 02 Dec 2020 01:59:06 -0800 (PST) Received: from redhat.com (bzq-79-176-44-197.red.bezeqint.net. [79.176.44.197]) by smtp.gmail.com with ESMTPSA id z11sm1418191wmc.39.2020.12.02.01.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 01:59:05 -0800 (PST) Date: Wed, 2 Dec 2020 04:59:03 -0500 From: "Michael S. Tsirkin" To: Mike Christie Subject: Re: [PATCH 1/1] qemu vhost scsi: add VHOST_SET_VRING_ENABLE support Message-ID: <20201202045807-mutt-send-email-mst@kernel.org> References: <1605223150-10888-1-git-send-email-michael.christie@oracle.com> <1605223150-10888-2-git-send-email-michael.christie@oracle.com> MIME-Version: 1.0 In-Reply-To: <1605223150-10888-2-git-send-email-michael.christie@oracle.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Cc: fam@euphon.net, linux-scsi@vger.kernel.org, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, target-devel@vger.kernel.org, stefanha@redhat.com, pbonzini@redhat.com X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On Thu, Nov 12, 2020 at 05:19:00PM -0600, Mike Christie wrote: > diff --git a/linux-headers/linux/vhost.h b/linux-headers/linux/vhost.h > index 7523218..98dd919 100644 > --- a/linux-headers/linux/vhost.h > +++ b/linux-headers/linux/vhost.h > @@ -70,6 +70,7 @@ > #define VHOST_VRING_BIG_ENDIAN 1 > #define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state) > #define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state) > +#define VHOST_SET_VRING_ENABLE _IOW(VHOST_VIRTIO, 0x15, struct vhost_vring_state) OK so first we need the kernel patches, then update the header, then we can apply the qemu patch. > /* The following ioctls use eventfd file descriptors to signal and poll > * for events. */ > -- > 1.8.3.1 _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8089C64E8A for ; Wed, 2 Dec 2020 10:51:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 693A1221FB for ; Wed, 2 Dec 2020 10:51:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 693A1221FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:55824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkPjn-0000r3-Uz for qemu-devel@archiver.kernel.org; Wed, 02 Dec 2020 05:51:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkOun-0001zy-99 for qemu-devel@nongnu.org; Wed, 02 Dec 2020 04:59:13 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:38647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kkOul-0005AG-HE for qemu-devel@nongnu.org; Wed, 02 Dec 2020 04:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606903150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z8AQZAgl1UdsrqF/icNEETV75RA2NfX+ehHLJ3NCqqw=; b=Lj6wKb7VdoGsQKEgm6RWuHuifswaYEktM0weJA/juGW4rZ1JccGabWETzEzZcee1hJVPdZ 4wsK/tPECGrgTcRl6OfaIbDgRVbII40MhjxztoGwsGlJmHwrvKV/XvFGogM891fAHSdImu jxWxBeXW57Q9DYsPhLbGfa19WGr23IU= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-52-0udzyt44MvOr8aYraBRv8Q-1; Wed, 02 Dec 2020 04:59:09 -0500 X-MC-Unique: 0udzyt44MvOr8aYraBRv8Q-1 Received: by mail-wm1-f72.google.com with SMTP id q1so2701981wmq.2 for ; Wed, 02 Dec 2020 01:59:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Z8AQZAgl1UdsrqF/icNEETV75RA2NfX+ehHLJ3NCqqw=; b=MXD7xarouUlkVIL+e6nWLqclyCQcJC3fTij12+/aXEQebBTgdP4zfmoGpJd22qTNDQ fXJCpRVwV9T6Q6W8+gyxSTRqNp+JI1lNVYyrcb3Tl+yd1Xw9QGUA32Eq19yNEN11F5We LRUhQFhCC2vkaafVDbZGLzDUti4AOeQrmyv+euhwSXRkfBYwJNe8tZ/RgvHIvgs+GlVv zp3mMMpJRNN5wE1jxQkidwkWPOG3smYUJc7PuxGaOibpH48PR/ydgPYXNi5mGwfHa8v6 AlnMkFChgLzOGt8hr69CvtasG6XJgvEp6zRhty1fM6BsEfmEbheZaKz8icXfrvbKGLx8 nOxw== X-Gm-Message-State: AOAM533AjxwrlYJERLgWIybhGXLjIIoeCUvVqeFOH17MuKFhvb0awVGg 4wbbJNcsQWo7kQR+AYIGuw9NnpOtjkeWUrcF3n0j3Yr0TSrfzO43wKsC53iiGMnKUPjrrQTQzdc Mga9c77p13/koRas= X-Received: by 2002:a7b:cf30:: with SMTP id m16mr2177313wmg.145.1606903146648; Wed, 02 Dec 2020 01:59:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlyOpsA5OFT6XaiG7rTTB0hoZWxmFeJV5oLJmK4wvaw9/zUbY1bAYBODC22GlGVObe124jzQ== X-Received: by 2002:a7b:cf30:: with SMTP id m16mr2177290wmg.145.1606903146488; Wed, 02 Dec 2020 01:59:06 -0800 (PST) Received: from redhat.com (bzq-79-176-44-197.red.bezeqint.net. [79.176.44.197]) by smtp.gmail.com with ESMTPSA id z11sm1418191wmc.39.2020.12.02.01.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 01:59:05 -0800 (PST) Date: Wed, 2 Dec 2020 04:59:03 -0500 From: "Michael S. Tsirkin" To: Mike Christie Subject: Re: [PATCH 1/1] qemu vhost scsi: add VHOST_SET_VRING_ENABLE support Message-ID: <20201202045807-mutt-send-email-mst@kernel.org> References: <1605223150-10888-1-git-send-email-michael.christie@oracle.com> <1605223150-10888-2-git-send-email-michael.christie@oracle.com> MIME-Version: 1.0 In-Reply-To: <1605223150-10888-2-git-send-email-michael.christie@oracle.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=63.128.21.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.497, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, linux-scsi@vger.kernel.org, jasowang@redhat.com, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, target-devel@vger.kernel.org, stefanha@redhat.com, pbonzini@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, Nov 12, 2020 at 05:19:00PM -0600, Mike Christie wrote: > diff --git a/linux-headers/linux/vhost.h b/linux-headers/linux/vhost.h > index 7523218..98dd919 100644 > --- a/linux-headers/linux/vhost.h > +++ b/linux-headers/linux/vhost.h > @@ -70,6 +70,7 @@ > #define VHOST_VRING_BIG_ENDIAN 1 > #define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state) > #define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state) > +#define VHOST_SET_VRING_ENABLE _IOW(VHOST_VIRTIO, 0x15, struct vhost_vring_state) OK so first we need the kernel patches, then update the header, then we can apply the qemu patch. > /* The following ioctls use eventfd file descriptors to signal and poll > * for events. */ > -- > 1.8.3.1