fh_partition_memcpy(9)
π 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 offh_sg_liststructures π (yes,phys_addr_t, write that down)countβ the number of entries insg_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 π:
fh_send_nmi(9)fh_partition_get_dtprop(9)fh_partition_restart(9)fh_partition_get_status(9)fh_partition_start(9)fh_partition_stop(9)struct fh_sg_list(9)fh_dma_enable(9)fh_dma_disable(9)fh_vmpic_get_msir(9)fh_system_reset(9)fh_err_get_info(9)fh_get_core_state(9)fh_enter_nap(9)fh_exit_nap(9)fh_claim_device(9)
π okay that's the page!! sourced from ./arch/powerpc/include/asm, dated October 2026, and we ate that π
mwah π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms