At 23:39 UTC one evening in November the kernel log of a server in my lab said, in one line, why most confidential computing on GPUs happens in somebody else’s data center: SEV-SNP: Memory for the RMP table has not been reserved by BIOS. The CPU supported it. The GPU supported it. The firmware vendor had shipped the board with the switch hidden, and the only related controls it exposed were the memory-encryption toggles and a knob for how many encrypted guests you could run. I had just raised that knob, and the kernel still refused. Confidential computing, it turns out, begins with a supply chain you do not control.
This is a field note from a few weeks of making it work anyway, a few hours a day, on one machine, end to end: an AMD EPYC 8124P on a TYAN board, one RTX PRO 6000 Blackwell Server Edition, Ubuntu 26.04, and a key broker on a second box. The question was what each layer of confidential computing actually buys when you can see all of it, and what it costs on a workload that looks like real work: a LoRA fine-tune of a small language model over records shaped like personal data, and then inference over the same model. I measured five privacy levels, from bare metal to a confidential VM that only receives its data key after proving who it is.
In July I ended an article on attestation portability with a postscript: I could prove what was running on my own bench, but could not yet encrypt every wire it ran on, because the cards were workstation class and the CPU side was thin. This is the loop closed.
The question confidential computing has to answer for AI
Confidential computing has one job: make data in use unreadable to the people who run the machine. Encryption at rest protects a stolen disk. Encryption in transit protects a tapped cable. Neither protects a tenant from the operator, because the operator holds the host, and the host sees every byte that passes through RAM on its way to a core. For AI workloads the problem is worse than for a database, because the data does not stay in the CPU. It travels over PCIe to a GPU, sits in GPU memory, and comes back as gradients or tokens. Every hop is a place where plaintext can exist, and the hypervisor owns most of the hops.
So the useful question is: at each location along that path, who can read it, and who checks? Host RAM, CPU registers, the DMA path to the GPU, the GPU’s own memory, the disk, and finally the party who decides whether the workload gets its keys at all. A privacy level is a specific answer for every one of those cells. Marketing collapses the table into a checkbox. The table is the product.
I built the levels so each one adds exactly one mechanism to the one before it. That way a performance difference between two neighbours is the cost of one thing, and a change in the table is the benefit of one thing.
The stack: SEV-SNP, Blackwell Server Edition and a key broker
Three pieces of hardware trust do the work, and they come from three vendors who do not talk to each other on your behalf.
AMD SEV-SNP encrypts a virtual machine’s memory with a key the hypervisor never sees, encrypts the vCPU register state on every exit, and keeps a hardware table of which guest owns which physical page so the hypervisor cannot remap, replay or alias guest memory. The guest can ask the platform security processor for a signed report at any time. That report carries the launch measurement of the firmware the VM booted, the policy it was launched under, the firmware versions of the platform, and 64 bytes the guest chooses, which is where a nonce goes. The signature chains to a per-chip key and from there to AMD’s root. This CPU is a Siena part, and its certificate chain comes from the Genoa endpoint of AMD’s key distribution service, which is not written down anywhere obvious.
NVIDIA confidential computing on the RTX PRO 6000 Server Edition is a mode you set on the GPU itself, with the card bound to VFIO and no driver attached, and it persists across resets. In that mode the GPU’s firmware refuses plaintext access to its memory through the PCIe BARs, establishes an SPDM session with the driver in the guest, derives AES-GCM keys from it, and from then on every command buffer and every DMA transfer between host memory and the GPU is encrypted and authenticated by the GPU’s copy engines. The data crosses PCIe as ciphertext. The GPU also has an identity: an ECC key fused at manufacture, a certificate chaining to NVIDIA’s root, and a signed measurement of its VBIOS and loaded firmware that a verifier can check against NVIDIA’s published reference values, locally or through NVIDIA’s remote attestation service. One GPU per confidential VM, no partitioning, Server Edition only.
The key broker turns two reports into a decision. I ran Trustee, the Confidential Containers project’s key broker, on a second host, loaded it with the expected launch measurement and minimum firmware versions, wrote the policy, and sealed the training data with a key only the broker holds. A guest that wants the key sends evidence. The broker verifies the AMD chain, compares the measurement and the firmware floors against what I loaded, evaluates the policy, and releases the key or does not.
Everything else is ordinary: QEMU 10.2 and libvirt 12 with the AMD SEV build of OVMF, the open NVIDIA kernel modules at 615.71, VFIO passthrough, PyTorch. The GPU ran capped at 300 W for the whole study because it is a passive card cooled by a chassis fan I control by hand. That cap is the one thing I had to re-apply more often than I expected, for a reason that belongs in the gotchas.
Five privacy levels and where plaintext lives
L0, bare metal. The baseline. The model, the data and the gradients are plaintext everywhere: RAM, registers, the PCIe link, the GPU’s GDDR7, the disk. Whoever has root has everything. Nothing attests anything.
L1, a plain VM. The GPU passed through with VFIO into an ordinary KVM guest. This changes nothing about confidentiality and I include it only to separate the cost of virtualization from the cost of protection. The host reads guest memory at will, DMA goes straight into guest pages, and the GPU’s memory is reachable through its BARs.
L2, a plain VM with the GPU in confidential-computing mode. The NVIDIA driver refuses to bring the GPU up in CC mode unless it detects a CPU TEE, so this level needed a registry override to force it, and a second override in the unified-memory module without which the first CUDA context crashed the guest kernel. With both, the GPU behaves exactly as it does in a real confidential VM: SPDM session, encrypted bounce buffers, no plaintext on PCIe, VRAM closed through the BARs. And none of it is confidential. The session keys live in guest memory that the host can read, so anyone with root on the host reads the keys and then reads everything. L2 exists to isolate the cost of the GPU’s own machinery, and it turned out to be the most informative level in the study for that reason.
L3, a SEV-SNP VM with the GPU in CC mode. Guest memory is encrypted with integrity. Registers are encrypted on exit. The GPU traffic is encrypted end to end, and now the keys live in memory the host cannot read. This is the configuration NVIDIA supports and the one the clouds sell. The disk is still plaintext unless you encrypt it yourself, GPU memory is access-controlled rather than encrypted, and a signed report exists but nothing acts on it. The host operator is reduced to metadata: how much memory, how many vCPUs, how much PCIe traffic, when.
L4, L3 plus attestation-gated key release. Same VM, but the training data arrives sealed and the key is released by the broker only after the guest’s SNP report checks out. The dataset, the adapter it produces and the sample outputs are never plaintext on disk; the OS image and the base model weights still are, and the table says “partly” for that cell. The “nobody checks” cell turns into “the broker checks, before the key”. The plaintext left in the table is the GPU’s own memory, which is a physical attack on a card inside a chassis and outside what this article measures.
There was supposed to be a sixth row, SEV-ES without SNP, as a comparison of encryption without integrity. The guest booted and the driver accepted the GPU before SNP was enabled on the board, but CUDA never ran, and once SNP was on the guest would not launch at all. NVIDIA’s support statement excludes that combination anyway. I say more about the difference in a short section near the end.
The firmware dependency
Everything above assumes the host firmware lets you turn SNP on. Mine did not.
The AMD platform needs the BIOS to reserve memory for the page-ownership table and to enable SNP in the security processor. Both are standard items in AMD’s reference firmware. On this board they were hidden: not in the Setup menu, not in the Redfish BIOS registry the baseboard controller exposes, nowhere a customer is meant to reach. The controls that were exposed produced SEV and SEV-ES guests but no SNP. I pulled the firmware image apart, found the two settings in the vendor’s setup store, and tried to set them from Linux and then from the firmware’s own shell. Linux was refused with a permission error; the shell was refused with a security violation. The variable store was locked by policy, the vendor’s latest BIOS release was already on the board and offered no way to turn it on, and the release notes never mention SNP. As of this writing there is no newer one. The supported road ended there.
This is a lab I pay for myself, and writing off a server board over two hidden settings was not a luxury I had. So I modified the BIOS: SNP support switched on, and the memory for the page-ownership table reserved at boot. On the next start the kernel log had changed. An RMP table at a physical address range, SNP enabled in the IOMMU and in KVM. The method stays out of this note.
The supply-chain lesson first. The root of trust for a confidential VM is the silicon, but the silicon’s switches are in firmware you did not write, from a board vendor who may consider the feature out of scope for the product you bought. When a cloud provider says “confidential VMs are available in these regions on these instance types,” that sentence is a firmware statement. Owning the hardware does not mean owning the switches.
Then why it does not matter to the trust story. The host BIOS is outside the SNP trusted computing base by design: the guest’s report is signed by AMD’s security processor, and the verifier checks the processor’s firmware versions, not the board vendor’s. A host whose BIOS has been persuaded to enable a feature is the kind of host SNP was built to distrust, and the report is meaningful anyway.
Gotchas in confidential VM GPU passthrough
The parts that cost time, in the order they cost it.
Ownership and mode
The GPU cannot be in CC mode while the host driver owns it. Toggling the mode is done through NVIDIA’s admin tool against the bare PCI device with the card bound to VFIO, and the host driver cannot even probe the card afterwards. The host has no nvidia-smi while the lab is running, which means the host cannot read GPU temperature. My fan controller had to assume the worst whenever the GPU was invisible from the host.
NVIDIA requires host Secure Boot off to change the mode from the host. Not to run; to toggle. There is a path that sets it from inside a guest instead, which I did not use.
Handing the GPU to VFIO resets its power limit to the factory 600 W. This one is dangerous on a passive card. Every guest boot has to re-apply the cap from inside the guest, before any workload, and the harness refuses to run if it cannot read the cap back. I put a unit in the guest image that does this, and a fail-closed check in the harness.
Memory and PCI windows
Locked memory is a trap for confidential guests. The standard libvirt recipe for passthrough pins guest memory and sets a hard memory limit. The GPU exposes a 128 GiB BAR for its memory window, and with the guest’s memory pinned that BAR counted against the process’s locked-memory limit: the mapping failed, and the first CUDA touch of the unmapped region ended in a bus error. Lifting the limit alone was not enough, because the firmware then stopped during page discards. The configuration that worked dropped both the pinning and the memtune block and raised the VFIO DMA entry limit on the host. The error messages point everywhere except there.
Give the guest a 256 GB 64-bit PCI window. The firmware’s default window does not fit the card’s BARs, so the guest kernel needs pci=realloc,nocrs and a larger bounce buffer, and OVMF needs the window size passed through fw_cfg.
iommu=pt disables SNP in the IOMMU. It was on the host command line from an earlier serving tuning pass. The AMD IOMMU driver says so in one log line, which is easy to miss among the hundreds it prints. Clean your kernel command line before you blame the BIOS.
Guests that stay up and stop working
Twice during the study a guest reached a state where the kernel was alive and the QEMU guest agent answered, but no new process could start. The SNP guest, on one of its four boots, logged thirty-eight faults with the shadow-stack bit set, all on one vCPU, in unrelated processes, and was healthy on the next boot; the plain VM wedged a few minutes after its suite with the same signature. The trail leads away from confidential computing altogether. QEMU 10.2 does not know the shadow-stack feature, so with the CPU model passed through unfiltered the guest sees a feature flag with no register-save slot behind it. The guest kernel enables user shadow stacks anyway, the firmware-update daemon opts into one on its first scheduled run, and the vCPU it ran on is left holding a dead process’s shadow-stack pointer. Every later process scheduled there dies on its first call. I reproduced it on a throwaway guest with no GPU and no SNP in a quarter of an hour, twenty of twenty processes dead on the poisoned vCPU and none on its neighbours, and clearing one register brought the vCPU back. Two unrelated public bug reports show the same signature on other hosts. Either fix works: let libvirt filter the CPU model down to what QEMU understands, or disable user shadow stacks on the guest kernel’s command line. The practical lesson stands regardless: results leave the guest the moment they exist, and the guest agent’s file API, which needs no fork, is the back door you want tested before you need it.
Measurements: what each level costs
The workload was a LoRA fine-tune of Qwen3-1.7B in bfloat16, rank 16 on all attention and MLP projections, 200 steps of 8 sequences by 1,024 tokens, over 2,000 synthetic records shaped like customer data with a canary string planted in every fiftieth one so I could scan for leaks afterwards. Inference merged the adapter and generated 256 tokens per request with the Hugging Face generate loop at batch 1 and batch 8. A transfer microbenchmark measured copies from 4 KiB to 1 GiB, kernel launch latency and the round trip of a single .item(). I measure that round trip in every study. A Beowulf cluster taught me in 2006 that a few microseconds paid on every small exchange decide the throughput of the whole machine, and a decode loop is nothing but small exchanges.
Every level ran the throughput suite three times with cooldowns between runs, plus two deterministic runs with every source of nondeterminism pinned, so I could ask whether the output was not just fast but identical. Run-to-run variation stayed at or under 2.5% everywhere, and the GPU never exceeded 61 °C.
Training, median of three runs:
| level | configuration | LoRA tok/s | vs L0 | vs previous level |
|---|---|---|---|---|
| L0 | bare metal | 12,366 | – | – |
| L1 | plain VM | 12,419 | +0.4% | +0.4% |
| L2 | plain VM, GPU CC on | 12,115 | −2.0% | −2.4% |
| L3 | SEV-SNP VM, GPU CC on | 12,109 | −2.1% | −0.1% |
| L4 | L3 + attestation-gated key | 12,108 | −2.1% | −0.0% |
Inference, Hugging Face generate, 256 new tokens, median of three:
| level | batch 1 tok/s | vs L0 | batch 8 tok/s | vs L0 | time to first token, batch 1 |
|---|---|---|---|---|---|
| L0 | 53.0 | – | 363.8 | – | 21.7 ms |
| L1 | 49.1 | −7.4% | 335.3 | −7.8% | 23.4 ms |
| L2 | 32.2 | −39.3% | 218.9 | −39.8% | 34.8 ms |
| L3 | 28.1 | −47.0% | 194.2 | −46.6% | 40.1 ms |
| L4 | 27.7 | −47.7% | 189.9 | −47.8% | 40.4 ms |
Transfers and launches:
| level | pinned host-to-GPU, 1 GiB | pageable host-to-GPU, 1 GiB | GPU-to-GPU, 1 GiB | launch + sync | .item() round trip |
|---|---|---|---|---|---|
| L0 | 56.8 GB/s | 22.5 GB/s | 726 GB/s | 10.7 µs | 7.3 µs |
| L1 | 56.8 GB/s | 21.0 GB/s | 725 GB/s | 11.3 µs | 7.3 µs |
| L2 | 7.1 GB/s | 7.2 GB/s | 716 GB/s | 22.3 µs | 16.3 µs |
| L3 | 7.1 GB/s | 7.1 GB/s | 715 GB/s | 23.4 µs | 16.8 µs |
| L4 | 7.1 GB/s | 7.1 GB/s | 715 GB/s | 23.4 µs | 17.0 µs |
And the result I think matters more than any throughput number: at every level, the deterministic training runs produced a bitwise-identical adapter to the bare-metal one, and the deterministic greedy decodes produced identical tokens. Confidential computing on this stack changes when you get the answer, not what the answer is.
Three readings follow from the tables. The whole cost of the GPU’s confidential mode shows up at L2, in a plain VM, with no CPU TEE anywhere: about 2% on training, 35% on generation against the plain VM, 87% on pinned copies. Adding SEV-SNP on top, which is the part that actually makes the system confidential, adds nothing measurable to training or copies and about 12% to generation. And adding the attestation gate costs nothing you can see in the steps; L4 sits inside the run-to-run noise of L3 on every row.
One number these readings do not explain. The plain VM gives up 7 to 8% on generation with no protection switched on at all. It may be the thread count, 12 in the guest against 16 on bare metal, or a toll the hardware takes for virtualization on a loop this chatty. This article does not cover it. It is on the list for a follow-up.
What the SNP report and the GPU attestation actually prove
A confidential VM that nobody attests is a very private way to run possibly-compromised software. So before I trusted L3 I verified its evidence the way a relying party would, step by step, and then let the broker on the second host do it for real at L4.
The SNP report verified against AMD’s chain: the root key is self-signed, the signing key is signed by the root, the per-chip versioned key is signed by the signing key, and the report’s signature verifies under the per-chip key. The firmware levels the report declares matched the ones the per-chip certificate was issued for. The revocation list, itself signed by AMD’s root, did not list the signing key. The 64 bytes of report data carried the fresh random value I had supplied when requesting the report, so it was not a replay of an older one; the broker, when I did replay a real report to it, refused on exactly that field. The policy said what I had launched: multithreading allowed, debugging off, no migration agent.
The measurement is the part people get wrong. It is the hash of what the security processor was asked to load at launch: here, the AMD build of OVMF and the initial register state of 24 vCPUs, which carries this CPU model’s signature. I recomputed it three ways, on the host from the firmware file, from the raw report bytes, and independently on my workstation from the Ubuntu package with the community measurement tool, and all three agreed on the same 48 bytes.
Which also means I know what it does not cover. This VM boots from a disk through that firmware. The kernel, the initramfs, the root filesystem, the NVIDIA driver and PyTorch are all unmeasured. The report proves that a genuine AMD processor launched a VM from firmware I recognise, under a policy I approve of, on a platform whose firmware is at least as new as my floor. It does not prove what ran afterwards. Closing that gap needs measured direct kernel boot, with the kernel and command line hashed into the launch, or a measured boot chain inside the guest. Both exist. Neither was in scope for this study.
The GPU attestation verified twice. Locally, NVIDIA’s verifier checked the GPU’s certificate chain and revocation status, verified the signed measurement report under the device key, fetched the reference measurements for this VBIOS and driver by version, and matched every one. Remotely, NVIDIA’s attestation service did the same and returned a token signed under its own key: overall result true, measurements matched, secure boot on, debug disabled, my nonce inside. That token is what a key broker can consume without ever talking to the GPU.
Then the part that has to be said plainly about the measured L4 runs. The broker release I timed gated the key on the SNP report alone. The Trustee version I deployed could verify NVIDIA evidence, but its built-in local verifier stops at any GPU that is not Hopper, so the GPU rule sat in the policy with its enforcement switched off. The GPU was attested, by me, out of band; the broker did not check it. Attestation as evidence a human reads is audit. Attestation as a gate a machine enforces is workload identity. The timed L4 did the second for the CPU and the first for the GPU, and the table says so.
After the measurements I closed that gap with Trustee’s newer verifier, the one that wraps NVIDIA’s own attestation library. It fetched the reference manifests for this card’s VBIOS and driver, checked revocation on every certificate in the chain, and verified the GPU evidence from inside the guest; the broker then released the key only when both the SNP report and the GPU evidence passed, into the libvirt guest and into a Kata pod alike, and refused the same guest when it presented the SNP report alone. The joint check costs about two and a half seconds instead of a third of a second, once per workload. One wrinkle for the record: the library’s local mode emits a slightly different claim set than NVIDIA’s cloud service, so the stock policy marks the GPU as a warning rather than a pass; a one-rule policy adjustment accepts it, and the report on that difference is drafted for upstream.
What the gate cost, when it finally ran: the guest asked the broker for the key once per suite, and the key was in the guest’s RAM-backed temporary filesystem 0.36 seconds after the request, of which the broker spent 0.24 seconds verifying the report and evaluating the policy. Unsealing the data on the way in and sealing the adapter and the sample outputs on the way out added about two and a half seconds to a 41-minute suite, all outside the timed steps. The broker’s log shows the same two lines for the hand test and for the run: SNP evidence accepted, key released. Earlier the same day it had refused a replayed report and a report from a non-SNP attester, which is the other half of a gate working. The key file was gone when the suite exited. Nothing in the result tables moved.
The cost model: why training shrugs and inference pays
Here is the picture to keep in your head. The GPU in confidential mode is a vault with a good door and a narrow one. Everything going in or out is sealed, carried through, and unsealed on the other side, and the door passes a few gigabytes a second. Inside, the vault works at full speed. The cost is a toll per trip through the door plus a toll per byte, and for most of what a model does the trips dominate.
Training is a vault workload
The model, the optimizer state and the activations are all inside. Each step moves one batch of token ids in, runs tens of trillions of floating-point operations on 8,192 tokens, and does not come out until the step is over. The door is a rounding error. Two percent.
Generation is a door workload
Every token is a separate decision. The host launches many small kernels, waits, reads one number back to decide what to do next, and goes again. With CC on, each launch’s command buffer is encrypted, each synchronisation crosses the sealed path, and the .item() that reads the argmax back doubles from 7 to 16 microseconds. Per token, the decode step went from about 20 to about 31 milliseconds. The microbenchmarks account for the direction of that change and the order of magnitude; they do not add up to the full gap on their own, so take this as the model and not the accounting. Batch 8 loses the same percentage as batch 1 because the bottleneck is not bandwidth, it is the number of trips. A tray of eight costs the same as one, as long as the tray fits through the door.
That is also why the pinned-memory number looks catastrophic and mostly is not. 56.8 to 7.1 GB/s is what a 1 GiB copy costs when every byte goes through the sealed bounce buffer, and pageable memory, two and a half times slower than pinned on bare metal, is now exactly as fast. The bounce buffer is the floor and the ceiling. Model loading is where it shows: 4 GB of weights that loaded in a tenth of a second now take most of one, and a 100 GB model takes a quarter of a minute instead of two seconds, unless the loader runs many copies in parallel.
Where SNP’s own cost sits
The 12% between L2 and L3 on generation is in a place I did not instrument. The GPU microbenchmarks barely move between the two levels, launches 5% slower and the read-back 3%, while the decode loop as a whole is 12% slower. The remainder is most likely on the CPU side. Candidates, none measured here: an SNP guest pays for timer interrupts, inter-processor interrupts and model-specific-register access with exits through the encrypted path, page-table work carries ownership checks, and this guest ran without SNP’s Secure TSC, so even reading the clock is a trip. Python running a tight generate loop does a lot of all that. A production server with CUDA graphs and continuous batching does much less, and I would expect the SNP tax to shrink toward the training number.
The fixes follow from the model. Keep data resident on the GPU and stop reading scalars back. Capture the decode step in a CUDA graph so a token costs one launch instead of hundreds. Batch deeper than the latency budget strictly needs. And stop using the plain Hugging Face loop for anything you serve, confidential or not; it was always the door workload, and confidential computing just made the door visible.
The 7.1 GB/s depends on the guest CPU model
The same suite also ran inside a confidential pod, under Kata Containers with the Confidential Containers runtime and NVIDIA’s GPU Operator on the same host. Training came in within a tenth of a percent of L3 and generation about 6% slower. Encrypted copies came in at 3.5 GB/s, half the 7.1 in the tables.
A controlled experiment found the cause. Kata pinned SNP guests to a generic CPU model, so the guest kernel never saw the host’s vector AES and 512-bit extensions, and it picked a slower AES-GCM path for the driver’s bounce-buffer encryption. Same driver, same hypervisor, a Genoa CPU model instead: 7 GB/s again. Under GPU confidential computing the guest CPU model is a performance setting, because encryption now sits on the data path.
A patch to make that model configurable was already in review upstream, written by Harshitha Gowda at AMD. It had the mechanism and no numbers for a GPU in confidential mode. I shared these, and the merged change now carries a performance note in the SNP how-to with the 3.5 against 7.1 GB/s figures. One caution from the same experiment: the new default, EPYC-Milan-v2, still halves copies on this path, because the kernel’s fast path needs the 512-bit extensions too. On a Zen 4 host, set the Genoa model. My thanks to Harshitha for taking real-hardware numbers into the project and crediting them.
What SEV-SNP adds over SEV-ES
Short, because the hardware made it short. SEV encrypts guest memory. SEV-ES also encrypts the vCPU’s register state when the guest exits to the hypervisor. SEV-SNP adds the ownership table I keep mentioning, checked on every write, so the host cannot remap a guest page, replay an old copy, or alias two guest addresses to one frame. ES is encryption. SNP is encryption with integrity, and it is the first level where a guest can ask the processor for a signed statement about itself at runtime; ES only has a measurement at launch, delivered to whoever launched it.
For the data path to the GPU it made no measurable difference. For the threat model it is the whole difference between “the host cannot see” and “the host cannot see, cannot tamper, and the guest can prove it.” NVIDIA supports GPU confidential computing only with SNP or Intel TDX, and the likely reason is this one: without integrity on the CPU side, the SPDM session keys sitting in guest memory are confidential but not trustworthy.
The confidential computing threat model, honestly
Who does each level stop?
A curious or compromised host administrator reads everything at L0, L1 and L2. At L3 they get metadata: memory size, vCPU count, PCIe traffic volume and timing, and the disk if it is unencrypted. At L4 the data and the adapter are sealed on disk too. They can still deny service at every level, and they can still see that a workload exists and how big it is.
A malicious hypervisor is stopped at L3 from remapping and replaying memory. It is not stopped from degrading performance, from refusing to launch, or from launching a different image and hoping nobody checks. L4 is what checks.
The physical attacker with access to the chassis should be assumed to reach GPU memory at every level. GDDR7 on a board is not HBM in a package, and NVIDIA’s published threat model excludes invasive package probing without, as far as I can find, saying anything about the memory bus. If that attacker is in your model, a locked cage is your control, not this.
Side channels are not addressed at any level here and I made no attempt to measure them. The host still schedules the vCPUs and sees cache and timing behaviour.
The silicon and firmware vendors are the root of trust and therefore the one party none of this protects you from. AMD signs the CPU reports, NVIDIA signs the GPU reports and publishes the reference measurements, and a relying party verifies against their keys. If you do not run the verifier yourself, you have added a fourth party.
And availability is not a confidential computing property at all. A sealed VM that cannot get its key is perfectly confidential and perfectly useless. The broker is a dependency on the critical path of every boot, with a network between it and the guest, and availability is a security property whether or not the confidentiality team has a seat at that meeting.
In CISSP terms
For the practitioners keeping score, confidential computing security is data-in-use protection, the leg of asset security that encryption at rest and in transit leave open. The trusted computing base shrinks at each level, from the whole host at L0 to the processor, its security firmware, the guest image and the GPU firmware at L3. What remains in the TCB is exactly the list of parties whose signatures the verifier checks, which makes attestation an assurance activity in the strict sense: evidence that the system in front of you is the system that was evaluated. The firmware story is third-party and supply-chain risk, in the form of a feature that existed in the silicon and was unavailable in the product. The L4 broker is an access-control decision point whose policy is code, and the sealing is key management with the custodian outside the host. The control covers confidentiality and integrity of data in use. Availability it leaves entirely to you.
Methods note
One machine, one GPU, one PCIe link, no interconnect; multi-GPU confidential computing adds encrypted collectives this study never touched. Each level ran three throughput passes and two deterministic passes with cooldown to a temperature target between them; medians are reported, and the harness refused to run above 80 °C or with the power cap off. Cooling was not identical: bare metal ran with the chassis fan following GPU temperature, the guests with it fixed high because the host could not read the GPU. Bare metal also had 16 CPU threads available to PyTorch against 12 in the guests, which may flatter the virtualization delta slightly.
The dataset was synthetic, generated from a fixed seed and hashed, and the same hash was verified inside every guest before any run. No timed code path changed between levels; the detection of which CPU TEE a guest is running in changed between L2 and L3, after an SNP guest’s own systemd reported itself as plain SEV. The bare-metal baseline was re-run at the end as a drift control, after the GPU had been through confidential mode and back: training came in 1.4% lower, generation about 1% lower, copies identical, with the card holding about 3% lower clocks at the same 300 W. Every delta in the tables is larger than that drift except the virtualization cost of training, which was never distinguishable from zero. Cloud Hypervisor with an IGVM firmware got as far as a booted SNP guest with the GPU attached through iommufd, where none of QEMU’s locked-memory problems appeared. The Ubuntu kernel panicked in early boot under that firmware over a legacy memory scan of a range the firmware had left unvalidated; a small firmware patch that validates the range, built reproducibly against the upstream binary, fixed it, and the same Ubuntu kernel then booted, loaded the NVIDIA modules, and yielded a stable launch measurement. Ten stock distribution kernels, from Linux 6.1 to 7.2 across Ubuntu, Debian, Fedora, AlmaLinux, openSUSE, Oracle and Arch, panicked identically without the patch and booted with it; the only kernels that never needed it are the ones built without that boot-table scan, which is why the hole went unnoticed. That patch has since landed upstream. A small tool written for this work predicts the launch measurement of any such guest offline, and matched every value I could read. With the patch, the same suite ran under Cloud Hypervisor with the GPU passed through: training within a quarter of a percent of the QEMU figure, copies at the same bandwidth, the GPU attested locally and remotely, and a launch measurement that matched the offline prediction to the byte. The key-release path under that firmware, which keeps the guest’s attestation key for its own measured chain, is the next chapter. The GPU stayed at a 300 W cap, half its rating, so read the relative costs, not the absolute throughput.
What it buys
None of this is glamorous. An evening of firmware archaeology for one kernel log line, a string of guests that would not boot or would not die, a dozen error messages that pointed anywhere but the cause. That is what it costs to know, rather than to be told, what confidential computing on a GPU buys. The answer is a table, not a checkbox, and the table says: the privacy is real, the integrity is real, the proof is partial until you make it complete, and the bill arrives at the door of the vault, one trip at a time.