News for hackers. Stuff that matters.
Re:I made my VM think it has a CPU fan by 0points on Tuesday July 01, 2025 @05:42AM (#44432183)
> And why don't you explain what exactly you think the nonsense is rather than violating the HN guidelines with a contentless RTFM message?

Violate..? Relax, dude.

You only had to read the very first sentence, but let me paraphrase:

> In virtualization, single root input/output virtualization (SR-IOV) is a specification that allows the isolation of PCI Express resources for manageability and performance reasons.

Re:I made my VM think it has a CPU fan by AshamedCaptain on Tuesday July 01, 2025 @07:24PM (#44438860)
This does not imply what you think it implies. The standard is about mutliplexing the _bus_ itself, and offering a way for the devices to recognize which VM it is talking with. It cannot even define what devices do with this nor how they do it because _devices are a myriad_.

Counterexample #1: a paritioned network card can still allow multiple domains to access the same PHY. Who is doing the "isolation" here? The PCIe bus? How do you think that even remotely works? Explain to me like a 5 year old, please.

Counterexample #2: a GPU with SRIOV. Each domain can still access the CRTCs from the GPU. How do you think that works, if it is not the GPU itself who is doing the multiplexing? What do you think a PCIe standard even _has anything to do_ with this. How could it even have something to do?

I do not understand why you (and the sibling guy) seem to think a standard for a _bus_ is even relevant to counter the argument that all of this is for VMs to make direct access to the hardware. You quote a communications standard for this hardware to be accessed by a host with multiple personalities concurrently. This is, if anything, _even more evidence_ that this is for VMs directly accessing hardware.

Again: I claim that what you're doing here is directly connecting your VMs to the hardware, where before they were not, only through a software emulation layer. You claim that this is not true, and that I couldn't be more wrong, because there is this magical interface that makes the hardware appear as if it actually was several instances. You totally miss the point: if anything, this makes your VMs _easier to directly connect to hardware_, not less.

And how is the hardware is going to magically appear as several interfaces, we leave that for the reader as an exercise, because you will not like the response: closed source firmware, likely an order of magnitude less reviewed than even the worst VM hardware emulator you can think of.

I am sorry, but you are not making the right argument.