Tuesday, 2022-02-15

kata-irc-bot<fighterhitx> Hello, I want to modify the options of qemu to start the virtual machine to test something. Is there a place to configure these options or do I have to modify the code? Thanks!02:12
kata-irc-bot<greg.bock> You might be able to use the OnDefineDomain hook to manipulate the generated libvirt domain definition02:28
kata-irc-bot<greg.bock> sample code here: https://github.com/kubevirt/kubevirt/blob/0e3a1719c34ca4a0e7eb5925fe0fa2317bc18f0a/cmd/example-hook-sidecar/smbios.go02:35
kata-irc-bot<greg.bock> doh02:46
kata-irc-bot<greg.bock> I’m in the wrong slack, ignore that02:46
kata-irc-bot<greg.bock> kata != kubevirt02:46
kata-irc-bot<greg.bock> :facepalm:02:46
kata-irc-bot<itskumaresan> Hi Team,  I would like to understand about the VM's Linux image that's being used when we spun up a kata container. Is it possible to change the Linux image of our choice?  Please confirm.03:02
kata-irc-bot<liubin0329> You can build your own image by https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-Guide.md#create-a-rootfs-image03:23
kata-irc-bot<liubin0329> I don't think there are some items for directly customing qemu for now.03:25
kata-irc-bot<liubin0329> I mean that if there is a configuration item like this: ```# Extra args for virtiofsd daemon # # Format example: #   ["-o", "arg1=xxx,arg2", "-o", "hello world", "--arg3=yyy"] # # see `virtiofsd -h` for possible options. virtio_fs_extra_args = @DEFVIRTIOFSEXTRAARGS@```04:16
kata-irc-bot<fighterhitx> Got it @liubin0329,thanks!05:38
kata-irc-bot<fighterhitx> Hi @liubin0329 , I found that the `cpu_features` item in the `configuration-qemu.toml` can help me.08:57

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!