Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-system-x86_64: "Bad system call" #2372

Open
KedalionDaimon opened this issue Apr 7, 2024 · 2 comments
Open

qemu-system-x86_64: "Bad system call" #2372

KedalionDaimon opened this issue Apr 7, 2024 · 2 comments

Comments

@KedalionDaimon
Copy link

KedalionDaimon commented Apr 7, 2024

Trying to run QEMU results in "Bad system call" and return to the iSH shell.

specifically, even this triggers it:

qemu-system-x86_64 --help

... and any attempts to run any virtual machine, of course, fail, too.

EDIT: qemu-system-aarch64 and qemu-system-i386 behave the same way, talking of an iPhone 15 running iOS 17.4.1.

@nikeedev
Copy link

nikeedev commented May 7, 2024

I tried that too sometime before, I think the issue lies in the reason that iSH has a lot of limitations.

@kuflierl
Copy link

kuflierl commented Jul 7, 2024

Qemu system uses pretty complicated vm and interrupt handlers in the kernel (the kvm subsystem). Since ish reimplements kernel features we would have to also implement them which would take ages. We still have bugs in simple syscalls that handle linking and UDP sockets. It would be nice to have but realistically speaking pretty far in the future.

Anyway cheers, I suggest you run your vms on a different machine and access them over ssh.

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

No branches or pull requests

3 participants