fh_partition_memcpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fh_partition_memcpy(9) β€” Kernel API Manual

okay bestie, welcome to the fh_partition_memcpy page, straight out of the Kernel API Manual ✨ literally the whole manual name is right there, we're not hiding it. this is the group chat where hypervisor calls get explained πŸ’–


🌸 NAME 🌸

fh_partition_memcpy β€” copies data from one guest to another 🫢

like, actually moving bytes between guests. no cap.


✨ SYNOPSIS ✨

unsigned int fh_partition_memcpy (unsigned int source , unsigned int
target , phys_addr_t sg_list , unsigned int count );

she takes four args and gives you back an unsigned int, periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • source β€” the ID of the partition to copy from πŸ’« (the giver, the origin, the main character of this transfer)
  • target β€” the ID of the partition to copy to 🎯 (the receiver, the one getting the data delivered)
  • sg_list β€” guest physical address of an array of fh_sg_list structures πŸ“‹ (yes, phys_addr_t, write that down)
  • count β€” the number of entries in sg_list πŸ”’ (how many structs are actually in that array, bestie)

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns 0 for success, or an error code. that's the whole vibe check honestly 😭 zero means slay, anything else means something went sideways and you get an error code back.

ngl the manpage is short here β€” but that's literally all it says, so I'm not gonna invent lore. 0 = success πŸŽ‰, error code = not success πŸ’€.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h

and the whole friend group πŸ’œ:


🌈 okay that's the page!! sourced from ./arch/powerpc/include/asm, dated October 2026, and we ate that πŸ’… mwah 🫢✨

πŸ“¦ where this page comes from