fix kvm stuff
parent
039058483a
commit
dc0b193b74
2
Makefile
2
Makefile
|
|
@ -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)" \
|
||||||
|
|
|
||||||
|
|
@ -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'/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue