> On May 5, 2022, at 12:04 PM, Stefan Hajnoczi <[email protected]> wrote:
> 
> 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.

It needs the client to work - will defer this till the client series.

--
Jag

> 
> Stefan


Reply via email to