qemu qom
本篇文章,我们主要以edu device 为例,来看一下 qom的框架. edu device 的代码在 hw/misc/edu.c 简介 QOM 全称 QEMU Object Model, 是QEMU 使用面向对象的方式来进行抽象 设计。面向对象包括封装,继承与多态。而qom就是根据自己自身的需求, 设计的一套面向对象的框架。 面向对象的几个概念: 封装: 将数据和...
本篇文章,我们主要以edu device 为例,来看一下 qom的框架. edu device 的代码在 hw/misc/edu.c 简介 QOM 全称 QEMU Object Model, 是QEMU 使用面向对象的方式来进行抽象 设计。面向对象包括封装,继承与多态。而qom就是根据自己自身的需求, 设计的一套面向对象的框架。 面向对象的几个概念: 封装: 将数据和...
patch link https://patchew.org/QEMU/1658851843-236870-1-git-send-email-steven.sistare@oracle.com/ commit message This version of the live update patch series integrates live update into the live ...
cpr-reboot test (upstream已经合入, 直接用上游测试) 测试过程如下: 测试过程 # org process ./qemu-system-x86_64 -machine type=q35 -object memory-backend-memfd,size=2G,id=ram0 -m 2G -monitor stdio ~/qemu-hotupdate&...
简介 sys_mincore 是 Linux 内核中实现 mincore 系统调用的函数, 位于内核源码中。它主要用于检查用户态传递的内存地址范围中 哪些页面驻留在物理内存中(即是否被分页到内存中)。 这里我们需要注意 驻留在物理内存和是否建立映射关系是两回事,例如,我们 mmap了一段内存到文件中,该文件在内存中有全部offset的 pagecache, 但是此时进程未访问...
timer 源 timer 描述 频率 PIT 最古老的pc时钟设备. intel 8253/8254 PLT有三个16bit counter 1.193182MHz HPET High Precision Event Tim...
简介 pgcacher可以用来获取当前系统中pagecache相关信息。pgclear打印的信息 格式大致如下: # sudo pgcacher -pid=933 -worker=5 -limit 2 +---------------------------------+----------------+-------------+----------------+-----------...
abstract This section describes the Keyboard Controller Style (KCS) Interface. The KCS interface is one of the supported BMC to SMS interfaces. The KCS interface is specified solely for SMS messag...
FROM intel sdm CHAPTER 25 VIRTUAL MACHINE CONTROL STRUCTURES 25.1 OVERVIEW A logical processor uses virtual-machine control data structures (VMCSs) while it is in VMX operation. These mana...
FROM intel sdm CHAPTER 26 VMX NON-ROOT OPERATION 26.6 UNRESTRICTED GUESTS The first processors to support VMX operation require CR0.PE and CR0.PG to be 1 in VMX operation (see Section 24.8...
FROM intel sdm CHAPTER 24 INTRODUCTION TO VIRTUAL MACHINE EXTENSIONS 24.8 RESTRICTIONS ON VMX OPERATION VMX operation places restrictions on processor operation. These are detailed belo...