pub fn new(kvm: &'a mut U, sev: &'a mut V) -> Result<Self> {
        let launcher = Launcher {
            vm_fd: kvm,
            sev,
            state: New,
        };

        let mut cmd = Command::from(launcher.sev, &Init);
        INIT.ioctl(launcher.vm_fd, &mut cmd)
            .map_err(|e| cmd.encapsulate(e))?;

        Ok(launcher)
    }
/// Begin the SEV launch process.
Begin the SEV launch process.
Begin the SEV launch process .
pub fn new(kvm: &'a mut U, sev: &'a mut V) -> Result<Self> {
        let launcher = Launcher {
            vm_fd: kvm,
            sev,
            state: New,
        };
        let mut cmd = Command::from(launcher.sev, &Init);
        INIT.ioctl(launcher.vm_fd, &mut cmd)
            .map_err(|e| cmd.encapsulate(e))?;
        Ok(launcher)
    }
pub fn new ( kvm : & ' a mut U , sev : & ' a mut V ) -> Result < Self > { let launcher = Launcher { vm_fd : kvm , sev , state : New , } ; let mut cmd = Command :: from ( launcher . sev , & Init ) ; INIT . ioctl ( launcher . vm_fd , & mut cmd ) . map_err ( | e | cmd . encapsulate ( e ) ) ? ; Ok ( launcher ) }
Begin the SEV launch process.
Begin the SEV launch process .
kvm
&'a mut U
sev
&'a mut V