Save this video free

cs6465 Advanced OS - Lecture 07 - Virtual and Physical Devices (part 2)

Anton Burtsev · 1:21:55 · Watch on YouTube

Part of University of Utah CS 6465. See all 15 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

cs6465 Advanced OS - Lecture 07 - Virtual and Physical Devices (part 2) Watch on YouTube →

Overview

Anton Burtsev connects physical-device operation to virtualization, explaining how PCI devices use DMA ring buffers, why polling can outperform interrupts, and how the IOMMU limits device access to memory. He compares Virtio data paths in KVM/QEMU and Xen, including shared memory, vhost, and isolation tradeoffs, then applies the concepts to planning an xv6 guest that needs kernel loading, I/O emulation, and interrupt handling.

Key takeaways

Chapters

0:00 Welcome Back and Course Check-In
1:30 Office Hours, Discussion Board, and Homework Guidance
9:40 PCI Devices and DMA Ring Buffers
12:54 Scaling Network I/O with Multiple Rings and Polling
15:31 Interrupt Costs, DPDK, and SPDK
18:37 DMA Security and IOMMU Address Translation
25:59 Virtio Descriptor, Available, and Used Rings
30:21 KVM and QEMU: Mapping Guest Memory for Virtio
37:57 Vhost Moves Virtio Processing into the Host Kernel
43:17 KVM and Xen Use Different Hypervisor Architectures
49:58 Device Backend Isolation and Virtualization Attack Surfaces
56:21 Tracing a KVM Virtio Packet Through Vhost
1:00:18 Planning the xv6 Guest Homework
1:08:25 Loading xv6: ELF Image and File-Size Limits
1:12:35 Boot Mode and Port-I/O Emulation for xv6
1:20:01 Plan Guest Interrupt Delivery and Continue the Design

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:30 cheering as usual. You better. Hey, we are here. So, how are you guys?

1:22 Welcome back after this the fall break. I hope everyone had fun. And uh was uh you had a time to catch up a little bit. I'm using whole marks and everything. So, a couple of things which I wanted to to start with. So, I actually added my office hours which are now um So, let's just quickly take a look at this. So, I updated the syllabus to say like look uh my office hours like I tried to pick two two two two two times each week. and I think 3:30 to 4:45 on Friday and noon to 1:00. Uh and I I mean some people like like I I don't know if everyone answered the poll, but those times were at least like

2:10 allowing like at least I don't think there was a an intersecting group of people who were not available at a specific time, although I cannot guarantee anything. But the way it works is that you actually have to click this link and book an appointment with me. So, it allows you to book a 15-minute slot. If no one is around, I will stay with you for as long as as needed, but this way at least I know whether I need to connect or not. Make sense? So, it's available from uh from I think the link is uh unrestricted, so maybe don't share it. Uh otherwise, we'll be some kind of a Zoom bombing attack. Uh that's number one. And second, I I said that I will set up a Piazza, but it seems that for such a small class, let's just use this discussion page. So, I set it up that you can start

2:58 discussions and you can start uh

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Anton Burtsev.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.