Skip to content

SymQEMU Cannot Execute Programs with Socket Communication, While QEMU Works Normally #71

Open

Description

@whytolearn

I encountered an issue where SymQEMU fails to execute programs that involve socket communication in scenarios using dnsmasq. When running the same program in QEMU, it functions without any issues. Specifically, programs that interact with dnsmasq for DNS resolution or DHCP services via sockets behave unexpectedly or fail entirely when executed in SymQEMU.

Activity

  1. aurelf commented on Dec 6, 2024

    @aurelf
    Member

    Thanks for the report. It would be nice if you could provide a small test case with exact commands you used. That would allow to reproduce.

  2. whytolearn commented on Dec 7, 2024

    @whytolearn
    Author

    Thanks for the report. It would be nice if you could provide a small test case with exact commands you used. That would allow to reproduce.

    I'm glad to receive your response. Here are my additional comments:

    git clone git://thekelleys.org.uk/dnsmasq.git

    cd dnsmasq
    make

    copy below to /etc/dnsmasq.conf

    port=5353
    no-daemon 
    no-resolv 
    interface=lo 
    bind-interfaces 
    

    cd src

    path/to/sysqemu/build/qemu-x86_64 ./dnsmasq

    open other terminal

    dig @127.0.0.1 -p 5353 google.com
    
    

    then it will down

    path/to/qemu/build/qemu-x86_64 ./dnsmasq

    it is work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions