qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 11/13] contrib/vhost-user-blk: fix 32 bit build and enable


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v1 11/13] contrib/vhost-user-blk: fix 32 bit build and enable
Date: Mon, 21 Mar 2022 23:32:51 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 21/3/22 16:30, Alex Bennée wrote:
We were not building the vhost-user-blk server due to 32 bit
compilation problems. The problem was due to format string types so
fix that and then enable the build. Tweak the rule to follow the same
rules as other vhost-user daemons.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
  meson.build                             | 2 +-
  contrib/vhost-user-blk/vhost-user-blk.c | 6 +++---
  contrib/vhost-user-blk/meson.build      | 3 +--
  3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/meson.build b/meson.build
index 282e7c4650..0435419307 100644
--- a/meson.build
+++ b/meson.build
@@ -1326,7 +1326,7 @@ have_vhost_user_blk_server = 
get_option('vhost_user_blk_server') \
             error_message: 'vhost_user_blk_server requires linux') \
    .require('CONFIG_VHOST_USER' in config_host,
             error_message: 'vhost_user_blk_server requires vhost-user 
support') \
-  .disable_auto_if(not have_system) \
+  .disable_auto_if(not have_tools and not have_system) \

s/and/or/?

    .allowed()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]