From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apyKB-0002VF-B9 for qemu-devel@nongnu.org; Tue, 12 Apr 2016 09:25:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apyK6-0005Tv-Iu for qemu-devel@nongnu.org; Tue, 12 Apr 2016 09:25:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apyK6-0005Tr-7z for qemu-devel@nongnu.org; Tue, 12 Apr 2016 09:25:42 -0400 From: Stefan Hajnoczi Date: Tue, 12 Apr 2016 14:25:26 +0100 Message-Id: <1460467534-29147-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1460467534-29147-1-git-send-email-stefanha@redhat.com> References: <1460467534-29147-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v3 02/10] include: update virtio_config.h Linux header List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Cornelia Huck , Fam Zheng , Stefan Hajnoczi Bring in the VIRTIO_CONFIG_S_NEEDS_RESET device status bit definition. Signed-off-by: Stefan Hajnoczi --- include/standard-headers/linux/virtio_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/standard-headers/linux/virtio_config.h b/include/standard-headers/linux/virtio_config.h index bcc445b..b30d0cb 100644 --- a/include/standard-headers/linux/virtio_config.h +++ b/include/standard-headers/linux/virtio_config.h @@ -40,6 +40,8 @@ #define VIRTIO_CONFIG_S_DRIVER_OK 4 /* Driver has finished configuring features */ #define VIRTIO_CONFIG_S_FEATURES_OK 8 +/* Device entered invalid state, driver must reset it */ +#define VIRTIO_CONFIG_S_NEEDS_RESET 0x40 /* We've given up on this device. */ #define VIRTIO_CONFIG_S_FAILED 0x80 -- 2.5.5