Compare commits

..

10 Commits

Author SHA1 Message Date
79acc12e4f Stop using arm
Some checks failed
Build Blog / Build_Image (push) Has been cancelled
2025-03-24 22:25:20 +00:00
3889588b34 Well that image is abandoned and not up to date lol 2025-03-24 22:15:55 +00:00
43684d1c12 Update profilePic 2025-03-24 22:09:05 +00:00
859776bf4e Fix Scss error from theme 2025-03-24 22:02:16 +00:00
94c3d63a07 Fix dockerfile 2025-03-24 21:59:01 +00:00
da9231fdfa Update builder 2025-03-24 21:55:02 +00:00
d9f665e3a2 Revert "Enable gitInfo"
This is somehow breaking the build, as it seems hugo isnt getting the .git info. Ill just disable this for now
2022-11-11 15:58:55 +00:00
526d758270 Fix Docker Build 2022-11-11 15:52:35 +00:00
63870cdb27 Add Last Modified 2022-11-11 15:52:21 +00:00
3c8c458548 Remove really old build 2022-11-11 15:52:03 +00:00
38 changed files with 51 additions and 1490 deletions

View File

@@ -12,14 +12,45 @@ env:
IMAGE_NAME: blog
jobs:
# Build_x86:
# runs-on: ubuntu-latest
Build_Image:
runs-on: ubuntu-latest
# If running with act, Uncomment below
# container: phaze9/action-runner
env:
DOCKER_CONFIG: $HOME/.docker
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ env.IMAGE_OWNER }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push multi-arch image
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/amd64,linux/arm64
labels: org.opencontainers.image.source=https://github.com/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}
tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:latest
# Build_ARM64:
# runs-on: [self-hosted, linux, ARM64]
# # If running with act, Uncomment below
# # container: phaze9/action-runner
# env:
# DOCKER_CONFIG: $HOME/.docker
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3
# - name: Set up Docker Buildx
# id: buildx
@@ -33,39 +64,10 @@ jobs:
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and push
# id: docker_build_x64
# id: docker_build_arm64
# uses: docker/build-push-action@v2
# with:
# push: true
# platforms: linux/amd64
# platforms: linux/arm64
# labels: org.opencontainers.image.source https://github.com/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}
# tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:x64-latest
Build_ARM64:
runs-on: [self-hosted, linux, ARM64]
# If running with act, Uncomment below
# container: phaze9/action-runner
env:
DOCKER_CONFIG: $HOME/.docker
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ env.IMAGE_OWNER }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build_arm64
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/arm64
labels: org.opencontainers.image.source https://github.com/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}
tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:arm64-latest
# tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:arm64-latest

View File

@@ -1,9 +1,9 @@
FROM jakejarvis/hugo-extended:0.105.0 as Builder
COPY src/ /app
FROM ghcr.io/peaceiris/hugo:v0.145.0-full AS hugo-builder
COPY . /app
WORKDIR /app
RUN /usr/bin/hugo --minify
RUN /usr/bin/hugo --minify --source=src/ --destination /app/build/
FROM nginx:1.19.6-alpine as web
FROM nginx:1.27.4-alpine AS web
LABEL maintainer="Phoenix (https://github.com/HotaruBlaze)"
COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/web.conf /etc/nginx/conf.d/web.conf
@@ -17,5 +17,5 @@ LABEL traefik.enable=true
EXPOSE 80
RUN rm -Rf /usr/share/nginx/html/ && rm /etc/nginx/conf.d/default.conf
COPY --from=Builder /app/public /usr/share/nginx/html/
COPY --from=hugo-builder /app/build /usr/share/nginx/html/
CMD [ "nginx", "-g", "daemon off;" ]

View File

@@ -2,7 +2,7 @@ version: "3"
services:
blog.fluttershub.com:
image: ghcr.io/fluttershub/blog:arm64-latest
image: ghcr.io/fluttershub/blog:latest
restart: always
networks:
- external

View File

@@ -1,71 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>404 Page not found // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/404.html" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<div class="error-404">
<h1 class="error-404-title">O<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-frown">
<title>frown</title>
<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>
</svg>ps... </h1>
<p>The link you followed may be broken, or the page may have been removed.</p>
<a href="/">Go home <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-arrow-right">
<title>arrow-right</title>
<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>
</svg></a>
</div>
</main>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

View File

@@ -1,68 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Categories // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Categories"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="Categories" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/categories/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>Categories</h1>
<ul class="tags-list">
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/categories/</link>
<description>Recent content in Categories on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://blog.fluttershub.com/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@@ -1 +0,0 @@
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#353b43;color:#afbac4}h1,h2,h3,h4,h5,h6{color:#fff}a{color:#57cc8a;transition:color .35s;text-decoration:none}a:hover{color:#fff}code{font-family:monospace,monospace;font-size:1em;color:rgba(175,186,196,.8)}pre{font-size:1rem;line-height:1.2em;margin:0;overflow:auto}pre code{font-size:.8em}::selection{background:rgba(175,186,196,.25)}::-moz-selection{background:rgba(175,186,196,.25)}.app-header{padding:2.5em;background:#242930;text-align:center}.app-header-avatar{width:15rem;height:15rem}.app-container{padding:2.5rem}.app-header-social{font-size:2em;color:#fff}.app-header-social a{margin:0 .1em}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}@media(max-width:940px){h2{font-size:large}.app-container{padding:.5rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:block;padding:.285em .8em}.page-item.active .page-link{color:#fff;border-radius:2em;background:#57cc8a}.post-title{color:#fff}.post-content>pre,.post-content .highlight{margin:1em 0}.post-content>pre,.post-content .highlight>pre,.post-content .highlight>div{border-left:.4em solid rgba(87,204,138,.8);padding:.5em 1em}.post-content img{max-width:100%}.post-meta{font-size:.8em}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:block;font-size:.8em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{list-style:none;padding:.4em 0}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}.gradient-border{margin:auto;--border-width:0.35rem;border-radius:.35rem;position:relative;display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif;font-size:2.5rem;text-transform:uppercase;color:#fff;background:#222;border-radius:var(--border-width)}.gradient-border::after{position:absolute;content:"";top:calc(-1 * var(--border-width));left:calc(-1 * var(--border-width));z-index:-1;width:calc(100% + var(--border-width) * 2);height:calc(100% + var(--border-width) * 2);background:linear-gradient(60deg,#5f86f2,#a65ff2,#f25fd0,#f25f61,#f2cb5f,#abf25f,#5ff281,#5ff2f0);background-size:300% 300%;background-position:0;border-radius:calc(2 * var(--border-width));animation:moveGradient 4s alternate infinite}@keyframes moveGradient{50%{background-position:100%}}.gradient-border img{margin:auto;width:100%;border-radius:1.5%}

View File

@@ -1,90 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="Land of random projects i do." />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Phoenix&#39;s Personal Blog"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="Phoenix&#39;s Personal Blog" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>Phoenix&#39;s Personal Blog</h1>
<ul class="posts-list">
<li class="posts-list-item">
<a class="posts-list-item-title" href="https://blog.fluttershub.com/posts/windows10-kvm/">Windows 10 KVM Single-GPU Passthrough</a>
<span class="posts-list-item-description">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</span>
</li>
</li>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/</link>
<description>Recent content on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 10 KVM Single-GPU Passthrough</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/</guid>
<description>Note: This is here as notes and shouldn&amp;rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5.</description>
</item>
<item>
<title>Windows 10 KVM Single-GPU Passthrough - macvlan Script</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/macvlan/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/macvlan/</guid>
<description>#!/bin/sh # Last Edited: 2020-05-18 # From: https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ # Let host and guests talk to each other over macvlan. # Configures a macvlan interface on the hypervisor. # Run this on the hypervisor (e.g. in /etc/rc.local) # Made for IPv4; need modification for IPv6. # Meant for a simple network setup with only eth0, # and a static (manual) ip config. # Evert Mouw, 2013. Slightly modified in 2020. HWLINK=enp34s0 MACVLN=macvlan0 TESTHOST=www.</description>
</item>
<item>
<title>Windows 10 KVM Single-GPU Passthrough - macvlan Service</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/macvlan-service/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/macvlan-service/</guid>
<description># /etc/systemd/system/macvlan.service [Unit] Description=MACVLAN bridge to share a physical network interface with KVM/QEMU hosts. Documentation=https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ After=network-online.target Wants=network-online.target Before=libvirt-guests.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/home/phoenix/macvlan/macvlan.sh [Install] WantedBy=multi-user.target </description>
</item>
</channel>
</rss>

View File

@@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://blog.fluttershub.com/</title><link rel="canonical" href="https://blog.fluttershub.com/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.fluttershub.com/" /></head></html>

View File

@@ -1,90 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Posts // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Posts"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="Posts" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/posts/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>Posts</h1>
<ul class="posts-list">
<li class="posts-list-item">
<a class="posts-list-item-title" href="https://blog.fluttershub.com/posts/windows10-kvm/">Windows 10 KVM Single-GPU Passthrough</a>
<span class="posts-list-item-description">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</span>
</li>
</li>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/posts/</link>
<description>Recent content in Posts on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 10 KVM Single-GPU Passthrough</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/</guid>
<description>Note: This is here as notes and shouldn&amp;rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5.</description>
</item>
<item>
<title>Windows 10 KVM Single-GPU Passthrough - macvlan Script</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/macvlan/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/macvlan/</guid>
<description>#!/bin/sh # Last Edited: 2020-05-18 # From: https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ # Let host and guests talk to each other over macvlan. # Configures a macvlan interface on the hypervisor. # Run this on the hypervisor (e.g. in /etc/rc.local) # Made for IPv4; need modification for IPv6. # Meant for a simple network setup with only eth0, # and a static (manual) ip config. # Evert Mouw, 2013. Slightly modified in 2020. HWLINK=enp34s0 MACVLN=macvlan0 TESTHOST=www.</description>
</item>
<item>
<title>Windows 10 KVM Single-GPU Passthrough - macvlan Service</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/macvlan-service/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/macvlan-service/</guid>
<description># /etc/systemd/system/macvlan.service [Unit] Description=MACVLAN bridge to share a physical network interface with KVM/QEMU hosts. Documentation=https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ After=network-online.target Wants=network-online.target Before=libvirt-guests.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/home/phoenix/macvlan/macvlan.sh [Install] WantedBy=multi-user.target </description>
</item>
</channel>
</rss>

View File

@@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://blog.fluttershub.com/posts/</title><link rel="canonical" href="https://blog.fluttershub.com/posts/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.fluttershub.com/posts/" /></head></html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -1,176 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Windows 10 KVM Single-GPU Passthrough // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Windows 10 KVM Single-GPU Passthrough"/>
<meta name="twitter:description" content="Note: This is here as notes and shouldn&rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5."/>
<meta property="og:title" content="Windows 10 KVM Single-GPU Passthrough" />
<meta property="og:description" content="Note: This is here as notes and shouldn&rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://blog.fluttershub.com/posts/windows10-kvm/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2020-05-18T00:00:00&#43;00:00" />
<meta property="article:modified_time" content="2020-05-18T00:00:00&#43;00:00" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article class="post">
<header class="post-header">
<h1 class ="post-title">Windows 10 KVM Single-GPU Passthrough</h1>
<div class="post-meta">
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
<title>tag</title>
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
<a class="tag" href="https://blog.fluttershub.com/tags/virtualization/">virtualization</a>
<a class="tag" href="https://blog.fluttershub.com/tags/kvm/">kvm</a>
<a class="tag" href="https://blog.fluttershub.com/tags/windows/">windows</a>
<a class="tag" href="https://blog.fluttershub.com/tags/linux/">linux</a>
</div>
</div>
</header>
<div class="post-content">
<h2 id="note-this-is-here-as-notes-and-shouldnt-be-taken-as-a-direct-guide">Note: This is here as notes and shouldn&rsquo;t be taken as a direct guide.</h2>
<h1 id="table-of-contents">Table of Contents</h1>
<div class="toc" class="well col-md-4 col-sm-6">
<nav id="TableOfContents">
<ul>
<li><a href="#host-specs">Host Specs</a></li>
<li><a href="#final-vm-configuration">Final VM Configuration</a></li>
<li><a href="#extra-kernal-arguements">Extra Kernal Arguements</a></li>
<li><a href="#nvidia-gpu-vfio-patch-this-is-required-on-10xx-series">Nvidia GPU VFIO patch (This is required on 10XX Series)</a></li>
<li><a href="#vm-networking">VM Networking</a></li>
<li><a href="#cpu-settings">CPU Settings</a></li>
<li><a href="#sata-passthrough">Sata Passthrough</a></li>
<li><a href="#virt-manager-hardware-overview">Virt-Manager Hardware Overview</a></li>
</ul>
</nav>
</div>
<hr>
<h3 id="host-specs">Host Specs</h3>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-txt" data-lang="txt">CPU: AMD Ryzen 5 3600
GPU: NVIDIA GeForce GTX 1060 6GB
Motherboard: MSI B450 Tomahawk Max
OS: Garuda Linux: Spotted-Eagle
Kernel: 5.12.3-zen1-1-zen
Memory: 16GB </code></pre></div>
<h3 id="final-vm-configuration">Final VM Configuration</h3>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-txt" data-lang="txt">CPU: 4 Cores, 8 Threads
GPU: NVIDIA GeForce GTX 1060 6GB
Memory: 10GB
Chipset: Q35
Firmware: OVMF
PCI Passthrough: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller
PCI Passthrough: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller</code></pre></div>
<h3 id="extra-kernal-arguements">Extra Kernal Arguements</h3>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-txt" data-lang="txt">video:vesafb=off video:efifb=off amd_iommu=on iommu=pt iommu=1 pcie_acs_override=downstream,multifunction</code></pre></div>
<h3 id="nvidia-gpu-vfio-patch-this-is-required-on-10xx-series">Nvidia GPU VFIO patch (This is required on 10XX Series)</h3>
<p>Original bios downloaded from: <a href="https://www.techpowerup.com/vgabios/">https://www.techpowerup.com/vgabios/</a><br>
<a href="https://github.com/Matoking/NVIDIA-vBIOS-VFIO-Patcher">NVIDIA vBIOS VFIO Patcher</a>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-bash" data-lang="bash">git clone https://github.com/Matoking/NVIDIA-vBIOS-VFIO-Patcher
<span style="color:#8be9fd;font-style:italic">cd</span> NVIDIA-vBIOS-VFIO-Patcher
python nvidia_vbios_vfio_patcher.py -i /home/phoenix/download/gtx1060.rom -o ./gtx1060-patched.rom
cp ./gtx1060-patched.rom /usr/share/vgabios/gtx1060-patched.rom</code></pre></div></p>
<h4 id="make-sure-bar-is-toggled-pass-the-file-for-the-rom-and-the-second-address-contains-multifunctionon">Make sure Bar is toggled, Pass the file for the rom, and the second address contains multifunction=&lsquo;on&rsquo;</h4>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-xml" data-lang="xml"><span style="color:#ff79c6">&lt;hostdev</span> <span style="color:#50fa7b">mode=</span><span style="color:#f1fa8c">&#39;subsystem&#39;</span> <span style="color:#50fa7b">type=</span><span style="color:#f1fa8c">&#39;pci&#39;</span> <span style="color:#50fa7b">managed=</span><span style="color:#f1fa8c">&#39;yes&#39;</span><span style="color:#ff79c6">&gt;</span>
<span style="color:#ff79c6">&lt;source&gt;</span>
<span style="color:#ff79c6">&lt;address</span> <span style="color:#50fa7b">domain=</span><span style="color:#f1fa8c">&#39;0x0000&#39;</span> <span style="color:#50fa7b">bus=</span><span style="color:#f1fa8c">&#39;0x26&#39;</span> <span style="color:#50fa7b">slot=</span><span style="color:#f1fa8c">&#39;0x00&#39;</span> <span style="color:#50fa7b">function=</span><span style="color:#f1fa8c">&#39;0x0&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;/source&gt;</span>
<span style="color:#ff79c6">&lt;rom</span> <span style="color:#50fa7b">bar=</span><span style="color:#f1fa8c">&#39;on&#39;</span> <span style="color:#50fa7b">file=</span><span style="color:#f1fa8c">&#39;/usr/share/vgabios/gtx1060-patched.rom&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;address</span> <span style="color:#50fa7b">type=</span><span style="color:#f1fa8c">&#39;pci&#39;</span> <span style="color:#50fa7b">domain=</span><span style="color:#f1fa8c">&#39;0x0000&#39;</span> <span style="color:#50fa7b">bus=</span><span style="color:#f1fa8c">&#39;0x03&#39;</span> <span style="color:#50fa7b">slot=</span><span style="color:#f1fa8c">&#39;0x00&#39;</span> <span style="color:#50fa7b">function=</span><span style="color:#f1fa8c">&#39;0x0&#39;</span> <span style="color:#50fa7b">multifunction=</span><span style="color:#f1fa8c">&#39;on&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;/hostdev&gt;</span></code></pre></div>
<h3 id="vm-networking">VM Networking</h3>
<p><strong>Scripts</strong><br>
<a href="/posts/windows10-kvm/macvlan/">macvlan.sh</a><br>
<a href="/posts/windows10-kvm/macvlan-service/">macvlan.service</a></p>
<p><strong>Virt-Manager Settings</strong><br>
<img src="/posts/windows10-kvm/images/network.png" alt="Virt-Manager-Networking"></p>
<h3 id="cpu-settings">CPU Settings</h3>
<p><div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-xml" data-lang="xml"><span style="color:#ff79c6">&lt;cputune&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;0&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;2&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;1&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;8&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;2&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;3&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;3&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;9&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;4&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;4&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;5&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;10&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;6&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;5&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;vcpupin</span> <span style="color:#50fa7b">vcpu=</span><span style="color:#f1fa8c">&#39;7&#39;</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;11&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;emulatorpin</span> <span style="color:#50fa7b">cpuset=</span><span style="color:#f1fa8c">&#39;0-1,6-7&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;/cputune&gt;</span></code></pre></div>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-xml" data-lang="xml"> <span style="color:#ff79c6">&lt;cpu</span> <span style="color:#50fa7b">mode=</span><span style="color:#f1fa8c">&#39;host-passthrough&#39;</span> <span style="color:#50fa7b">check=</span><span style="color:#f1fa8c">&#39;none&#39;</span> <span style="color:#50fa7b">migratable=</span><span style="color:#f1fa8c">&#39;off&#39;</span><span style="color:#ff79c6">&gt;</span>
<span style="color:#ff79c6">&lt;topology</span> <span style="color:#50fa7b">sockets=</span><span style="color:#f1fa8c">&#39;1&#39;</span> <span style="color:#50fa7b">dies=</span><span style="color:#f1fa8c">&#39;1&#39;</span> <span style="color:#50fa7b">cores=</span><span style="color:#f1fa8c">&#39;4&#39;</span> <span style="color:#50fa7b">threads=</span><span style="color:#f1fa8c">&#39;2&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;cache</span> <span style="color:#50fa7b">mode=</span><span style="color:#f1fa8c">&#39;passthrough&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;feature</span> <span style="color:#50fa7b">policy=</span><span style="color:#f1fa8c">&#39;require&#39;</span> <span style="color:#50fa7b">name=</span><span style="color:#f1fa8c">&#39;topoext&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;/cpu&gt;</span></code></pre></div></p>
<h3 id="sata-passthrough">Sata Passthrough</h3>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-xml" data-lang="xml"><span style="color:#ff79c6">&lt;disk</span> <span style="color:#50fa7b">type=</span><span style="color:#f1fa8c">&#39;block&#39;</span> <span style="color:#50fa7b">device=</span><span style="color:#f1fa8c">&#39;disk&#39;</span><span style="color:#ff79c6">&gt;</span>
<span style="color:#ff79c6">&lt;driver</span> <span style="color:#50fa7b">name=</span><span style="color:#f1fa8c">&#39;qemu&#39;</span> <span style="color:#50fa7b">type=</span><span style="color:#f1fa8c">&#39;raw&#39;</span> <span style="color:#50fa7b">cache=</span><span style="color:#f1fa8c">&#39;none&#39;</span> <span style="color:#50fa7b">io=</span><span style="color:#f1fa8c">&#39;native&#39;</span> <span style="color:#50fa7b">discard=</span><span style="color:#f1fa8c">&#39;unmap&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;source</span> <span style="color:#50fa7b">dev=</span><span style="color:#f1fa8c">&#39;/dev/disk/by-id/ata-....&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;target</span> <span style="color:#50fa7b">dev=</span><span style="color:#f1fa8c">&#39;sda&#39;</span> <span style="color:#50fa7b">bus=</span><span style="color:#f1fa8c">&#39;sata&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;boot</span> <span style="color:#50fa7b">order=</span><span style="color:#f1fa8c">&#39;1&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;address</span> <span style="color:#50fa7b">type=</span><span style="color:#f1fa8c">&#39;drive&#39;</span> <span style="color:#50fa7b">controller=</span><span style="color:#f1fa8c">&#39;0&#39;</span> <span style="color:#50fa7b">bus=</span><span style="color:#f1fa8c">&#39;0&#39;</span> <span style="color:#50fa7b">target=</span><span style="color:#f1fa8c">&#39;0&#39;</span> <span style="color:#50fa7b">unit=</span><span style="color:#f1fa8c">&#39;0&#39;</span><span style="color:#ff79c6">/&gt;</span>
<span style="color:#ff79c6">&lt;/disk&gt;</span></code></pre></div>
<h3 id="virt-manager-hardware-overview">Virt-Manager Hardware Overview</h3>
<p><img src="/posts/windows10-kvm/images/hardware-overview.png" alt="Virt-Manager-Overview"></p>
</div>
<div class="post-footer">
</div>
</article>
</main>
</body>
</html>

View File

@@ -1,99 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Windows 10 KVM Single-GPU Passthrough - macvlan Service // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Windows 10 KVM Single-GPU Passthrough - macvlan Service"/>
<meta name="twitter:description" content="# /etc/systemd/system/macvlan.service [Unit] Description=MACVLAN bridge to share a physical network interface with KVM/QEMU hosts. Documentation=https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ After=network-online.target Wants=network-online.target Before=libvirt-guests.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/home/phoenix/macvlan/macvlan.sh [Install] WantedBy=multi-user.target "/>
<meta property="og:title" content="Windows 10 KVM Single-GPU Passthrough - macvlan Service" />
<meta property="og:description" content="# /etc/systemd/system/macvlan.service [Unit] Description=MACVLAN bridge to share a physical network interface with KVM/QEMU hosts. Documentation=https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ After=network-online.target Wants=network-online.target Before=libvirt-guests.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/home/phoenix/macvlan/macvlan.sh [Install] WantedBy=multi-user.target " />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://blog.fluttershub.com/posts/windows10-kvm/macvlan-service/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2020-05-18T00:00:00&#43;00:00" />
<meta property="article:modified_time" content="2020-05-18T00:00:00&#43;00:00" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article class="post">
<header class="post-header">
<h1 class ="post-title">Windows 10 KVM Single-GPU Passthrough - macvlan Service</h1>
<div class="post-meta">
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</div>
</div>
</header>
<div class="post-content">
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-bash" data-lang="bash"><span style="color:#6272a4"># /etc/systemd/system/macvlan.service</span>
<span style="color:#ff79c6">[</span>Unit<span style="color:#ff79c6">]</span>
<span style="color:#8be9fd;font-style:italic">Description</span><span style="color:#ff79c6">=</span>MACVLAN bridge to share a physical network interface with KVM/QEMU hosts.
<span style="color:#8be9fd;font-style:italic">Documentation</span><span style="color:#ff79c6">=</span>https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/
<span style="color:#8be9fd;font-style:italic">After</span><span style="color:#ff79c6">=</span>network-online.target
<span style="color:#8be9fd;font-style:italic">Wants</span><span style="color:#ff79c6">=</span>network-online.target
<span style="color:#8be9fd;font-style:italic">Before</span><span style="color:#ff79c6">=</span>libvirt-guests.service
<span style="color:#ff79c6">[</span>Service<span style="color:#ff79c6">]</span>
<span style="color:#8be9fd;font-style:italic">Type</span><span style="color:#ff79c6">=</span>oneshot
<span style="color:#8be9fd;font-style:italic">RemainAfterExit</span><span style="color:#ff79c6">=</span>yes
<span style="color:#8be9fd;font-style:italic">ExecStart</span><span style="color:#ff79c6">=</span>/home/phoenix/macvlan/macvlan.sh
<span style="color:#ff79c6">[</span>Install<span style="color:#ff79c6">]</span>
<span style="color:#8be9fd;font-style:italic">WantedBy</span><span style="color:#ff79c6">=</span>multi-user.target</code></pre></div>
</div>
<div class="post-footer">
</div>
</article>
</main>
</body>
</html>

View File

@@ -1,147 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Windows 10 KVM Single-GPU Passthrough - macvlan Script // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Windows 10 KVM Single-GPU Passthrough - macvlan Script"/>
<meta name="twitter:description" content="#!/bin/sh # Last Edited: 2020-05-18 # From: https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ # Let host and guests talk to each other over macvlan. # Configures a macvlan interface on the hypervisor. # Run this on the hypervisor (e.g. in /etc/rc.local) # Made for IPv4; need modification for IPv6. # Meant for a simple network setup with only eth0, # and a static (manual) ip config. # Evert Mouw, 2013. Slightly modified in 2020. HWLINK=enp34s0 MACVLN=macvlan0 TESTHOST=www."/>
<meta property="og:title" content="Windows 10 KVM Single-GPU Passthrough - macvlan Script" />
<meta property="og:description" content="#!/bin/sh # Last Edited: 2020-05-18 # From: https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ # Let host and guests talk to each other over macvlan. # Configures a macvlan interface on the hypervisor. # Run this on the hypervisor (e.g. in /etc/rc.local) # Made for IPv4; need modification for IPv6. # Meant for a simple network setup with only eth0, # and a static (manual) ip config. # Evert Mouw, 2013. Slightly modified in 2020. HWLINK=enp34s0 MACVLN=macvlan0 TESTHOST=www." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://blog.fluttershub.com/posts/windows10-kvm/macvlan/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2020-05-18T00:00:00&#43;00:00" />
<meta property="article:modified_time" content="2020-05-18T00:00:00&#43;00:00" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article class="post">
<header class="post-header">
<h1 class ="post-title">Windows 10 KVM Single-GPU Passthrough - macvlan Script</h1>
<div class="post-meta">
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</div>
</div>
</header>
<div class="post-content">
<div class="highlight"><pre style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:1;-o-tab-size:1;tab-size:1"><code class="language-bash" data-lang="bash"><span style="color:#ff79c6">#!/bin/sh
</span><span style="color:#ff79c6"></span><span style="color:#6272a4"># Last Edited: 2020-05-18</span>
<span style="color:#6272a4"># From: https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/</span>
<span style="color:#6272a4"># Let host and guests talk to each other over macvlan.</span>
<span style="color:#6272a4"># Configures a macvlan interface on the hypervisor.</span>
<span style="color:#6272a4"># Run this on the hypervisor (e.g. in /etc/rc.local)</span>
<span style="color:#6272a4"># Made for IPv4; need modification for IPv6.</span>
<span style="color:#6272a4"># Meant for a simple network setup with only eth0,</span>
<span style="color:#6272a4"># and a static (manual) ip config.</span>
<span style="color:#6272a4"># Evert Mouw, 2013. Slightly modified in 2020.</span>
<span style="color:#8be9fd;font-style:italic">HWLINK</span><span style="color:#ff79c6">=</span>enp34s0
<span style="color:#8be9fd;font-style:italic">MACVLN</span><span style="color:#ff79c6">=</span>macvlan0
<span style="color:#8be9fd;font-style:italic">TESTHOST</span><span style="color:#ff79c6">=</span>www.google.com
<span style="color:#6272a4"># ------------</span>
<span style="color:#6272a4"># test if interface already exists</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#ff79c6">if</span> ip link show | grep <span style="color:#f1fa8c">&#34;</span><span style="color:#8be9fd;font-style:italic">$MACVLN</span><span style="color:#f1fa8c">@</span><span style="color:#8be9fd;font-style:italic">$HWLINK</span><span style="color:#f1fa8c">&#34;</span> &gt; /dev/null
<span style="color:#ff79c6">then</span>
<span style="color:#8be9fd;font-style:italic">echo</span> <span style="color:#f1fa8c">&#34;Link </span><span style="color:#8be9fd;font-style:italic">$MACVLN</span><span style="color:#f1fa8c"> already exists on </span><span style="color:#8be9fd;font-style:italic">$HWLINK</span><span style="color:#f1fa8c">.&#34;</span>
<span style="color:#8be9fd;font-style:italic">exit</span>
<span style="color:#ff79c6">fi</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#6272a4"># wait for network availability</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#ff79c6">while</span> ! ping -q -c <span style="color:#bd93f9">1</span> <span style="color:#8be9fd;font-style:italic">$TESTHOST</span> &gt; /dev/null
<span style="color:#ff79c6">do</span>
<span style="color:#8be9fd;font-style:italic">echo</span> <span style="color:#f1fa8c">&#34;</span><span style="color:#8be9fd;font-style:italic">$0</span><span style="color:#f1fa8c">: Cannot ping </span><span style="color:#8be9fd;font-style:italic">$TESTHOST</span><span style="color:#f1fa8c">, waiting another 5 seconds.&#34;</span>
sleep <span style="color:#bd93f9">5</span>
<span style="color:#ff79c6">done</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#6272a4"># get network config</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#8be9fd;font-style:italic">IP</span><span style="color:#ff79c6">=</span><span style="color:#ff79c6">$(</span>ip address show dev <span style="color:#8be9fd;font-style:italic">$HWLINK</span> | grep <span style="color:#f1fa8c">&#34;inet &#34;</span> | awk <span style="color:#f1fa8c">&#39;{print $2}&#39;</span><span style="color:#ff79c6">)</span>
<span style="color:#8be9fd;font-style:italic">NETWORK</span><span style="color:#ff79c6">=</span><span style="color:#ff79c6">$(</span>ip -o route | grep <span style="color:#8be9fd;font-style:italic">$HWLINK</span> | grep -v default | awk <span style="color:#f1fa8c">&#39;{print $1}&#39;</span><span style="color:#ff79c6">)</span>
<span style="color:#8be9fd;font-style:italic">GATEWAY</span><span style="color:#ff79c6">=</span><span style="color:#ff79c6">$(</span>ip -o route | grep default | awk <span style="color:#f1fa8c">&#39;{print $3}&#39;</span><span style="color:#ff79c6">)</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#6272a4"># setting up $MACVLN interface</span>
<span style="color:#6272a4"># ------------</span>
ip link add <span style="color:#8be9fd;font-style:italic">$MACVLN</span> link <span style="color:#8be9fd;font-style:italic">$HWLINK</span> <span style="color:#8be9fd;font-style:italic">type</span> macvlan mode bridge
ip address add <span style="color:#8be9fd;font-style:italic">$IP</span> dev <span style="color:#8be9fd;font-style:italic">$MACVLN</span>
ip link <span style="color:#8be9fd;font-style:italic">set</span> dev <span style="color:#8be9fd;font-style:italic">$MACVLN</span> up
<span style="color:#6272a4"># ------------</span>
<span style="color:#6272a4"># routing table</span>
<span style="color:#6272a4"># ------------</span>
<span style="color:#6272a4"># empty routes</span>
ip route flush dev <span style="color:#8be9fd;font-style:italic">$HWLINK</span>
ip route flush dev <span style="color:#8be9fd;font-style:italic">$MACVLN</span>
<span style="color:#6272a4"># add routes</span>
ip route add <span style="color:#8be9fd;font-style:italic">$NETWORK</span> dev <span style="color:#8be9fd;font-style:italic">$MACVLN</span> metric <span style="color:#bd93f9">0</span>
<span style="color:#6272a4"># add the default gateway</span>
ip route add default via <span style="color:#8be9fd;font-style:italic">$GATEWAY</span></code></pre></div>
</div>
<div class="post-footer">
</div>
</article>
</main>
</body>
</html>

View File

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://blog.fluttershub.com/tags/kvm/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/tags/linux/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/posts/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/tags/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/tags/virtualization/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/tags/windows/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/posts/windows10-kvm/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/posts/windows10-kvm/macvlan/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/posts/windows10-kvm/macvlan-service/</loc>
<lastmod>2020-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>https://blog.fluttershub.com/categories/</loc>
</url>
</urlset>

View File

@@ -1,112 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Tags // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Tags"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="Tags" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/tags/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>Tags</h1>
<ul class="tags-list">
<li class="tags-list-item">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
<title>tag</title>
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
<a class="tags-list-item-title" href="https://blog.fluttershub.com/tags/kvm/">
(1)
kvm
</a>
</li>
<li class="tags-list-item">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
<title>tag</title>
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
<a class="tags-list-item-title" href="https://blog.fluttershub.com/tags/linux/">
(1)
linux
</a>
</li>
<li class="tags-list-item">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
<title>tag</title>
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
<a class="tags-list-item-title" href="https://blog.fluttershub.com/tags/virtualization/">
(1)
virtualization
</a>
</li>
<li class="tags-list-item">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tag">
<title>tag</title>
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>
</svg>
<a class="tags-list-item-title" href="https://blog.fluttershub.com/tags/windows/">
(1)
windows
</a>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,47 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/tags/</link>
<description>Recent content in Tags on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>kvm</title>
<link>https://blog.fluttershub.com/tags/kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/tags/kvm/</guid>
<description></description>
</item>
<item>
<title>linux</title>
<link>https://blog.fluttershub.com/tags/linux/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/tags/linux/</guid>
<description></description>
</item>
<item>
<title>virtualization</title>
<link>https://blog.fluttershub.com/tags/virtualization/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/tags/virtualization/</guid>
<description></description>
</item>
<item>
<title>windows</title>
<link>https://blog.fluttershub.com/tags/windows/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/tags/windows/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@@ -1,84 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>kvm // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="kvm"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="kvm" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/tags/kvm/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>kvm</h1>
<ul class="posts-list">
<li class="posts-list-item">
<a class="posts-list-item-title" href="https://blog.fluttershub.com/posts/windows10-kvm/">Windows 10 KVM Single-GPU Passthrough</a>
<span class="posts-list-item-description">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</span>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>kvm on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/tags/kvm/</link>
<description>Recent content in kvm on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/tags/kvm/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 10 KVM Single-GPU Passthrough</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/</guid>
<description>Note: This is here as notes and shouldn&amp;rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5.</description>
</item>
</channel>
</rss>

View File

@@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://blog.fluttershub.com/tags/kvm/</title><link rel="canonical" href="https://blog.fluttershub.com/tags/kvm/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.fluttershub.com/tags/kvm/" /></head></html>

View File

@@ -1,84 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>linux // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="linux"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="linux" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/tags/linux/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>linux</h1>
<ul class="posts-list">
<li class="posts-list-item">
<a class="posts-list-item-title" href="https://blog.fluttershub.com/posts/windows10-kvm/">Windows 10 KVM Single-GPU Passthrough</a>
<span class="posts-list-item-description">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</span>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>linux on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/tags/linux/</link>
<description>Recent content in linux on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/tags/linux/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 10 KVM Single-GPU Passthrough</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/</guid>
<description>Note: This is here as notes and shouldn&amp;rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5.</description>
</item>
</channel>
</rss>

View File

@@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://blog.fluttershub.com/tags/linux/</title><link rel="canonical" href="https://blog.fluttershub.com/tags/linux/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.fluttershub.com/tags/linux/" /></head></html>

View File

@@ -1,84 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>virtualization // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="virtualization"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="virtualization" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/tags/virtualization/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>virtualization</h1>
<ul class="posts-list">
<li class="posts-list-item">
<a class="posts-list-item-title" href="https://blog.fluttershub.com/posts/windows10-kvm/">Windows 10 KVM Single-GPU Passthrough</a>
<span class="posts-list-item-description">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</span>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>virtualization on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/tags/virtualization/</link>
<description>Recent content in virtualization on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/tags/virtualization/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 10 KVM Single-GPU Passthrough</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/</guid>
<description>Note: This is here as notes and shouldn&amp;rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5.</description>
</item>
</channel>
</rss>

View File

@@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://blog.fluttershub.com/tags/virtualization/</title><link rel="canonical" href="https://blog.fluttershub.com/tags/virtualization/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.fluttershub.com/tags/virtualization/" /></head></html>

View File

@@ -1,84 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>windows // Phoenix&#39;s Personal Blog</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.83.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Phoenix" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://blog.fluttershub.com/css/main.min.4c70cb4897ba15d2c09f9dabed6b26b751f0638d2a16a28ec38cfcde2ffc4de6.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="windows"/>
<meta name="twitter:description" content="Land of random projects i do."/>
<meta property="og:title" content="windows" />
<meta property="og:description" content="Land of random projects i do." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://blog.fluttershub.com/tags/windows/" />
</head>
<body>
<header class="app-header">
<a class="gradient-border" href="https://blog.fluttershub.com/"><img class="app-header-avatar" src="/avatar.png" alt="Phoenix" /></a>
<h2>Phoenix&#39;s Personal Blog</h2>
<nav class="app-header-menu">
<a class="app-header-menu-item" href="/">Home</a>
|
<a class="app-header-menu-item" href="/tags/">Tags</a>
</nav>
<p>Land of random projects i do.</p>
<div class="app-header-social">
<a href="https://github.com/HotaruBlaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-github">
<title>Github</title>
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
<a href="https://twitter.com/hotarublaze" target="_blank" rel="noreferrer noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-twitter">
<title>Twitter</title>
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
</svg>
</a>
</div>
</header>
<main class="app-container">
<article>
<h1>windows</h1>
<ul class="posts-list">
<li class="posts-list-item">
<a class="posts-list-item-title" href="https://blog.fluttershub.com/posts/windows10-kvm/">Windows 10 KVM Single-GPU Passthrough</a>
<span class="posts-list-item-description">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-calendar">
<title>calendar</title>
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
May 18, 2020
</span>
</li>
</ul>
</article>
</main>
</body>
</html>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>windows on Phoenix&#39;s Personal Blog</title>
<link>https://blog.fluttershub.com/tags/windows/</link>
<description>Recent content in windows on Phoenix&#39;s Personal Blog</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 May 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.fluttershub.com/tags/windows/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 10 KVM Single-GPU Passthrough</title>
<link>https://blog.fluttershub.com/posts/windows10-kvm/</link>
<pubDate>Mon, 18 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.fluttershub.com/posts/windows10-kvm/</guid>
<description>Note: This is here as notes and shouldn&amp;rsquo;t be taken as a direct guide. Table of Contents Host Specs Final VM Configuration Extra Kernal Arguements Nvidia GPU VFIO patch (This is required on 10XX Series) VM Networking CPU Settings Sata Passthrough Virt-Manager Hardware Overview Host Specs CPU: AMD Ryzen 5 3600 GPU: NVIDIA GeForce GTX 1060 6GB Motherboard: MSI B450 Tomahawk Max OS: Garuda Linux: Spotted-Eagle Kernel: 5.</description>
</item>
</channel>
</rss>

View File

@@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://blog.fluttershub.com/tags/windows/</title><link rel="canonical" href="https://blog.fluttershub.com/tags/windows/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://blog.fluttershub.com/tags/windows/" /></head></html>

View File

@@ -4,7 +4,6 @@ languageCode = "en-us"
title = "Phoenix's Personal Blog"
homepage = "https://fluttershub.com"
tags = ["blog","personal","coding"]
enableGitInfo = true
[markup.goldmark.renderer]
hardWraps = true

View File

@@ -8,9 +8,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="{{ .Site.Params.author | default "John Doe" }}" />
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint -}}
<link rel="stylesheet" href="{{ $style.Permalink }}" />
{{ $style := resources.Get "css/syntax.css" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
{{ $style := resources.Get "css/syntax.css" | resources.ExecuteAsTemplate "css/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint -}}
<link rel="stylesheet" href="{{ $style.Permalink }}" />
{{ template "_internal/google_analytics.html" . }}
{{ template "_internal/twitter_cards.html" . }}

View File

@@ -8,6 +8,12 @@
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
{{ .PublishDate.Format "Jan 2, 2006" }}
</div>
{{ if ne .Lastmod .Date }}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "git-commit") }}
Last Edited: {{ .Lastmod.Format "Jan 2, 2006" }}
</div>
{{ end }}
{{ if not .Site.Params.noreadingtime }}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 93 KiB