<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>41783</bug_id>
          
          <creation_ts>2022-01-24 15:18:19 +0300</creation_ts>
          <short_desc>ошибка запуска виртуальной машины при использовании guestmount</short_desc>
          <delta_ts>2022-02-06 02:17:08 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libguestfs</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Danil Shein">dshein</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>crux</cc>
    
    <cc>egori</cc>
    
    <cc>ender</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>obirvalger</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>207060</commentid>
    <comment_count>0</comment_count>
    <who name="Danil Shein">dshein</who>
    <bug_when>2022-01-24 15:18:19 +0300</bug_when>
    <thetext>При попытке монтирования образа с использованием guestmount вылетает ошибка:

libguestfs: launch libvirt guest
libguestfs: error: could not create appliance through libvirt.

Try running qemu directly without libvirt using this environment variable:
export LIBGUESTFS_BACKEND=direct

Original error from libvirt: internal error: process exited while connecting to monitor: 2022-01-24T12:10:27.723823Z qemu-system-x86_64: The -accel and &quot;-machine accel=&quot; options are incompatible [code=1 int1=-1]


Запуск с переменной окружения LIBGUESTFS_BACKEND=direct проходит успешно.

Проблема воспроизводится с версиями пакетов:

guestfs-data-0.6-alt1.x86_64
libguestfs-1.46.2-alt1.x86_64
qemu-6.2.0-alt1.x86_64
libvirt-8.0.0-alt1.x86_64

Монтировние через guestmount у меня работало в Сизифе последний раз как минимум в к конце декабря 2021 года.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207071</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-01-24 17:34:22 +0300</bug_when>
    <thetext>в p10 при этом работает</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207251</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-01-28 09:46:50 +0300</bug_when>
    <thetext>Данил, я много где встречаю то, что рекомендованное использование для libguestfs - с BACKEND=direct.

Я думаю что для решения этой проблемы будет оптимальным переключиться на direct по умолчанию.

что скажут другие ментейнеры libguestfs ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207502</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-02-06 02:17:08 +0300</bug_when>
    <thetext>libguestfs-1.46.2-alt2 -&gt; sisyphus:

 Sat Feb 05 2022 Anton Farygin &lt;rider@altlinux.ru&gt; 1.46.2-alt2
 - the default backend switched to direct (closes: #41783)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>