def METHOD_NAME(self, custom_kernel=False):
    self.require_accelerator("kvm")
    self.vm.add_args("-accel", "kvm")
    self.vm.add_args("-cpu", "host")
    self.vm.add_args("-machine", "iommu=smmuv3")
    self.vm.add_args("-d", "guest_errors")
    self.vm.add_args('-bios', os.path.join(BUILD_DIR, 'pc-bios',
                     'edk2-aarch64-code.fd'))
    self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0')
    self.vm.add_args('-object',
                     'rng-random,id=rng0,filename=/dev/urandom')
    if custom_kernel is False:
        return
    kernel_url = self.distro.pxeboot_url + 'vmlinuz'
    initrd_url = self.distro.pxeboot_url + 'initrd.img'
    self.kernel_path = self.fetch_asset(kernel_url)
    self.initrd_path = self.fetch_asset(initrd_url)