qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v9 17/17] vfio-user: avocado tests for vfio-user


From: Stefan Hajnoczi
Subject: Re: [PATCH v9 17/17] vfio-user: avocado tests for vfio-user
Date: Thu, 5 May 2022 17:04:01 +0100

On Tue, May 03, 2022 at 10:16:58AM -0400, Jagannathan Raman wrote:
> +    def launch_client(self, kernel_path, initrd_path, kernel_command_line,
> +                      machine_type, socket, *opts):
> +        client_vm = self.get_vm()
> +        client_vm.set_console()
> +        client_vm.add_args('-machine', machine_type)
> +        client_vm.add_args('-accel', 'kvm')
> +        client_vm.add_args('-cpu', 'host')
> +        client_vm.add_args('-object',
> +                           'memory-backend-memfd,id=sysmem-file,size=2G')
> +        client_vm.add_args('--numa', 'node,memdev=sysmem-file')
> +        client_vm.add_args('-m', '2048')
> +        client_vm.add_args('-kernel', kernel_path,
> +                           '-initrd', initrd_path,
> +                           '-append', kernel_command_line)
> +        client_vm.add_args('-device',
> +                           'vfio-user-pci,socket='+socket)

This patch series is just the server. Does this test case work yet?

If not, please defer it to the client series.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]