Wednesday, 2021-01-06

*** fuentess has quit IRC00:10
*** Yarboa has quit IRC07:34
*** Yarboa has joined #kata-dev07:35
*** dklyle has quit IRC07:46
*** sameo has joined #kata-dev07:47
*** jodh has joined #kata-dev08:01
*** jodh has quit IRC08:44
*** davidgiluk has joined #kata-dev09:01
kata-irc-bot<christophe> I asked around in the qemu community, it looks like it's not possible to start an OVMF firmware correctly with the `-bios` option. So Sandeep may not be able to do what he wants. I'll open an issue, unless there is one already.09:05
kata-irc-bot<fidencio> @christophe, please, do.  If you take a look at the 1.x output pasted by Sandeep, there the right thing is done. I wonder whether he has changes on govmm itself that would lead to that behaviour.09:28
*** snir_ has joined #kata-dev09:33
kata-irc-bot<christophe> I'm sorry, I don't see it. There is a `-bios /path/to/OVMF.fd` option, which I thought might be a problem. However, doing more digging and testing, it looks like you _can_ boot an OVMF that way. What is missing is hte file that stores the EFI variables, but that's only useful to preserve settings across reboots. I remember (from earlier versions of EFI) that it was not possible to boot without a partition variables, but it looks like10:17
kata-irc-botit works now. So either `qemu`  is smart enough to create some temporary partition, either OVMF is smart enough to not need one.10:17
kata-irc-bot<fidencio> This is his output from 1.x: `-drive if=pflash,format=raw,unit=0,file=/usr/local/share/qemu/OVMF_CODE.fd.kata,readonly`  This is his output from 2.x: `-bios /usr/local/share/qemu/OVMF_CODE.fd.kata`10:35
*** th0din has quit IRC10:36
*** th0din has joined #kata-dev10:37
kata-irc-bot<fidencio> govmm code has, since 2017: ```func (config *Config) appendBios() {        if config.Bios != "" {                config.qemuParams = append(config.qemuParams, "-bios")                config.qemuParams = append(config.qemuParams, config.Bios)        } }```10:41
kata-irc-bot<fidencio> The fact he doesn't get `-bios ...` when using 1.x makes me believe he patches govmm according to his needs, but this patch was not carried over 2.x.10:42
*** fuentess has joined #kata-dev14:00
kata-irc-bot<christophe> I somehow missed the `-drive` option. I searched for `OVMF`  in the email, though, so it's not clear to me why I missed it. I sent an apology email. Need to update https://github.com/kata-containers/kata-containers/issues/123114:22
*** vgoyal has joined #kata-dev15:16
*** dklyle has joined #kata-dev15:26
*** fuentess has quit IRC20:13
*** davidgiluk has quit IRC20:17
*** snir_ has quit IRC20:44
*** fuentess has joined #kata-dev22:17
*** fuentess has quit IRC23:06
*** sameo has quit IRC23:06
*** fuentess has joined #kata-dev23:07
*** fuentess has quit IRC23:11
*** fuentess1 has joined #kata-dev23:11
*** fuentess1 has quit IRC23:16
*** fuentess has joined #kata-dev23:46
*** fuentess has quit IRC23:58

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