Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Jemalloc 5.4.0(github.com/jemalloc ↗)
    37comments
  2. The scourge of x86 emulation(fex-emu.com ↗)
    22comments
  3. Astra for Law(openai.com ↗)
    525comments
  4. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    127comments
  5. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    217comments
  6. Qwen 3.8 Omni Flash(qwen.ai ↗)
    78comments
  7. When the fractional part of a float fixes your shader(crocidb.com ↗)
    1comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    165comments
  9. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    33comments
  10. Wax motor(wikipedia.org ↗)
    70comments
  11. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    228comments
  12. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    147comments
  13. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    8comments
  14. How to Write with an LLM(sockpuppet.org ↗)
    92comments
  15. Why Does the Universe Expand?(cosmicave.org ↗)
    50comments
  16. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    23comments
  17. Replacing Pull Requests with Delta(zed.dev ↗)
    1comments
  18. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  19. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    56comments
  20. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    23comments
  21. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    37comments
  22. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    367comments
  23. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    105comments
  24. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    10comments
  25. CrowdSec Source Code Leak(crowdsec.net ↗)
    48comments
  26. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    10comments
  27. The most important product decision is what you don't build(liamnugent.me ↗)
    37comments
  28. Show HN: Snapdrop: Instantly share files between devices. No setup, no signup(snapdrop.me ↗)
    34comments
  29. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    39comments
  30. How Uber Protects Against Retry Storms(uber.com ↗)
    42comments

Accelerating QEMU on Windows with HAXM

74 pointsby 8y agoqemu.org
24 comments
8y agoHN ↗

Check again - by now it has a (kinda positive) "Not sure how to do it and if it makes sense to do that in the same driver, but we'd be open for discussions" reply.

8y agoHN ↗

Ugh, no Hyper-V support kind of defeats the point these days... Especially on Win10... Maybe there'd be a way to do this for Hyper-V too

8y agoHN ↗

I don’t understand. Hyper-V is already hardware accelerated and takes full advantage of VT-D.

8y agoHN ↗

Hyper-V doesn't have the same emulated devices support by a long shot.

8y agoHN ↗

Hyper-V is extremely strict about what can access its hypercalls, so you can't do anything from userspace like with KVM and HAX. Hypercalls can only be made from ring 0 and creating domains can only be done from the root domain.

8y agoHN ↗

There's a project that uses QEMU to emulate the original xbox, xqemu: http://xqemu.com/

I wonder if this will help their project too.

8y agoHN ↗

That doesn't help the project at all... HLE seems to be more workable for Xbox... Xenia is VERY far for the Xbox 360, it isn't technical but organisational issues instead

8y agoHN ↗

HLE sucks for the XBOX, there is many low level stuff which can be replicated well without hacks.

You can't compare Xenia to the 1st XBOX, at all.

8y agoHN ↗

I tried it back in the day while talking about the results on reddit with jayfoxrox.

HL2 ran much faster, (the GUI "widgets" and loading bars were nearly as fast as an XBOX) but the graphics were scrambled.

8y agoHN ↗

Is there an equivalent to HAXM for Linux? Would it be KVM?

8y agoHN ↗

Yes, exactly. All of KVM, HAXM and the OSX Hypervisor.Framework are basically providing APIs to user applications that encapsulate the CPU's virtualization capability so that you can use it to implement VMs without needing kernel privilege. They differ in how high a level of abstraction they provide (eg KVM does a lot more for you in the kernel, H.f punts to userspace for everything), but the principle is the same.

8y agoHN ↗

It's on my backlog of experiments that I'll probably never get to, but has anyone had success running QEMU on, say, AWS (virtualized) Windows servers to run Linux VMs? I presume HAXM isn't relevant for attempting this?

8y agoHN ↗

I don't think any of the public cloud providers support nested virtualization.

8y agoHN ↗

Several do support nested virtualization under Linux; I've tested that. I don't know if they do under Windows, though.

8y agoHN ↗

[Disclaimer - I work for Microsoft]

Azure just released nested virtualization VMs. I've tested Hyper-V running in such a VM and it worked well. Have not yet tested HAXM.

8y agoHN ↗

Can I ask why? Can’t you just spin up any number of smaller instances running Linux AMIs instead?

8y agoHN ↗

HAXM works on OSX AFAIK, it would be nice to have it in OSX as well

8y agoHN ↗

Didn't Android SDK on Windows use qemu & haxm for years already?

8y agoHN ↗

HAXM started off as a part of the Android SDK for Windows but is now a standalone component as its wider applicability has been noted and capitalized upon.