fix kvm stuff

pull/13762/head
Sharif Elgamal 2022-04-05 10:30:40 -07:00
parent 039058483a
commit dc0b193b74
2 changed files with 2 additions and 2 deletions

View File

@ -888,7 +888,7 @@ ifeq ($(MINIKUBE_BUILD_IN_DOCKER),y)
test "`strings $@ | grep '^LIBVIRT_[0-9]' | sort | tail -n 1`" = "LIBVIRT_1.2.9" test "`strings $@ | grep '^LIBVIRT_[0-9]' | sort | tail -n 1`" = "LIBVIRT_1.2.9"
else else
$(if $(quiet),@echo " GO $@") $(if $(quiet),@echo " GO $@")
$(Q)GOARCH=$* \ $(Q)GOARCH=$* GOOS=linux \
go build \ go build \
-installsuffix "static" \ -installsuffix "static" \
-ldflags="$(KVM2_LDFLAGS)" \ -ldflags="$(KVM2_LDFLAGS)" \

View File

@ -42,7 +42,7 @@ const domainTmpl = `
<os> <os>
<type machine="q35">hvm</type> <type machine="q35">hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader> <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
<nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>s <nvram>/usr/share/OVMF/OVMF_VARS.fd</nvram>
<boot dev='cdrom'/> <boot dev='cdrom'/>
<boot dev='hd'/> <boot dev='hd'/>
<bootmenu enable='yes'/> <bootmenu enable='yes'/>