qemu-discuss
[Top][All Lists]
Advanced

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

Qemu don't wait tap infrastructure on windows 10 enough on two consecuti


From: Antonio Apostoliu
Subject: Qemu don't wait tap infrastructure on windows 10 enough on two consecutive calls
Date: Tue, 5 Nov 2024 12:54:47 +0200

Hello
Qemu don't wait tap infrastructure on windows 10 enough on two consecutive calls
Please observe that only second asincron qemu call works
I have next situation:
F:\20241105>dir
 Volume in drive F is Data2
 Volume Serial Number is 9A3F-2B31
 Directory of F:\20241105
11/05/2024  12:29 PM    <DIR>          .
11/05/2024  12:29 PM    <DIR>          ..
11/05/2024  12:13 PM               656 a.bat
11/05/2024  12:27 PM       442,355,200 d.qcow2
11/05/2024  12:27 PM       442,355,200 dd.qcow2
11/05/2024  12:27 PM       442,355,200 debian-12-generic-amd64.qcow2
               4 File(s)  1,327,066,256 bytes
               2 Dir(s)  40,295,374,848 bytes free
F:\20241105>ver
Microsoft Windows [Version 10.0.19045.5011]
F:\20241105>netsh interface show interface
Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Disconnected   Dedicated        reteavirtuala247
Enabled        Connected      Dedicated        retealoopback
Disabled       Disconnected   Dedicated        Bluetooth Network Connection
Enabled        Connected      Dedicated        Ethernet
F:\20241105>C:\progra~1\qemu\qemu-system-x86_64.exe --version
QEMU emulator version 9.1.0 (v9.1.0-12064-gc658eebf44)
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
F:\20241105>type a.bat
@echo off
echo =============1=================
set "QEMUBIN=C:\progra~1\qemu\qemu-system-x86_64.exe"
echo =============2=================
start "" /b "%QEMUBIN%" -m 512 -hda d.qcow2 -name vm ^
    -device virtio-net,netdev=n1 -netdev user,id=n1 ^
    -device virtio-net,netdev=n2,mac=52:54:00:12:34:56 ^
    -netdev tap,id=n2,ifname=reteavirtuala247
echo =============3=================
start "" /b "%QEMUBIN%" -m 512 -hda dd.qcow2 -name vmm ^
    -device virtio-net,netdev=nn1 -netdev user,id=nn1 ^
    -device virtio-net,netdev=nn2,mac=52:54:00:12:34:76 ^
    -netdev tap,id=nn2,ifname=reteavirtuala247
echo =============4=================
F:\20241105>a.bat
=============1=================
=============2=================
=============3=================
=============4=================
F:\20241105>tap: Could not open 'reteavirtuala247'
C:\progra~1\qemu\qemu-system-x86_64.exe: -netdev tap,id=n2,ifname=reteavirtuala247: Device 'tap' could not be initialized

(qemu:11840): Gtk-WARNING **: 12:46:38.685: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

reply via email to

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