随笔分类 -  qemu

上一页 1 2 3 4 下一页

scripts/kconfig/merge_config.sh
摘要:在scripts/kconfig路径下有一个merge_config.sh,可以用于将将两个defconfig merge成一个.使用用法如下:./scripts/kconfig/merge_config.sh -m arch/arm64/configs/defconfig arch/arm64/c 阅读全文

posted @ 2020-11-12 10:48 tycoon3 阅读(1848) 评论(0) 推荐(0)

Building Android for Qemu: A Step-by-Step Guide
摘要:Set up paths Naturally all of the paths below are configurable, this is just what I used. export PROJECT_PATH="/opt/qemu_android" export VIRGLRENDERER 阅读全文

posted @ 2020-11-12 10:34 tycoon3 阅读(1325) 评论(0) 推荐(0)

tuntap vhost virtio-net-pci
摘要:qemu-system-aarch64: -netdev tap,ifname=tap1,id=network-0,vhost=on,script=../qemu-ifup,vnet_hdr=on: info: net_client_init_fun call 10 + switch=virbr0 阅读全文

posted @ 2020-11-12 09:46 tycoon3 阅读(301) 评论(0) 推荐(0)

How to launch QEMU from command line without libvirt with macvtap and vhost support
摘要:How to launch QEMU from command line without libvirt with macvtap and vhost supportThis sets up a host local bridge with a macvlan interface for VM to 阅读全文

posted @ 2020-11-12 09:34 tycoon3 阅读(109) 评论(0) 推荐(0)

VFS: Unable to mount root fs on unknown-block(0,0)
摘要:[ 0.137372] (driver?) [ 0.137550] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.137762] CPU: 0 PID: 1 Comm: swapp 阅读全文

posted @ 2020-11-10 17:40 tycoon3 阅读(1915) 评论(0) 推荐(0)

OVS DPDK与QEMU之间如何通过vhost user协议通信 vhost user协议的控制和数据通道
摘要:netdev_dpdk_vhost_construct定义在文件openvswitch-2.9.2/lib/netdev-dpdk.c 1058 static int 1059 netdev_dpdk_vhost_construct(struct netdev *netdev) 1060 { 106 阅读全文

posted @ 2020-11-10 10:52 tycoon3 阅读(1130) 评论(0) 推荐(0)

qemu和vhost-user前后端协商过程
摘要:http://blog.chinaunix.net/uid-28541347-id-5786547.html https://zhaozhanxu.com/2017/02/16/QEMU/2017-02-16-qemu-reconnect/ qemu-system-aarch64: -netdev 阅读全文

posted @ 2020-11-09 16:19 tycoon3 阅读(1638) 评论(0) 推荐(0)

vhost 控制平面 + handle_kick + VhostOps
摘要:vhost是virtio的另一种方案,用于跳过qemu,减少qemu和内核之间上下文切换的开销,对于网络IO而言提升尤其明显。vhost目前有两种实现方案,内核态和用户态,本文重点讨论内核态的vhost vhost内核模块主要处理数据面的事情,控制面上还是交给qemu,vhost的数据结构如下 st 阅读全文

posted @ 2020-11-06 11:44 tycoon3 阅读(553) 评论(0) 推荐(0)

vhost VQ 0 ring restore failed
摘要:qemu-system-aarch64: -chardev socket,id=char0,path=/tmp/vhost1,server: info: QEMU waiting for connection on: disconnected:unix:/tmp/vhost1,server qemu 阅读全文

posted @ 2020-11-06 11:14 tycoon3 阅读(558) 评论(0) 推荐(0)

qemu 线程 vhost
摘要:[root@localhost cloud_images]# lsmod | grep vhost_net vhost_net 262144 0 vhost 262144 1 vhost_net tap 262144 1 vhost_net tun 262144 2 vhost_net [root@ 阅读全文

posted @ 2020-11-06 10:24 tycoon3 阅读(1127) 评论(0) 推荐(0)

kvm + qemu + kvm ioctl
摘要:kvm_cpu_exec --> kvm_vcpu_ioctl(cpu, KVM_RUN, 0) static void *kvm_vcpu_thread_fn(void *arg) { CPUState *cpu = arg; int r; rcu_register_thread(); qemu_ 阅读全文

posted @ 2020-11-06 10:04 tycoon3 阅读(482) 评论(0) 推荐(0)

基于QMP实现对qemu虚拟机进行交互 + telnet
摘要:https://cloud.tencent.com/developer/article/1468105 qemu) "ctrl+]" to return to telnet, (qemu)"quit" to exit qemu applicatoin. 通过网络连接到QEMU MONITO http 阅读全文

posted @ 2020-11-05 17:09 tycoon3 阅读(2729) 评论(0) 推荐(0)

Vhost-User Feature for QEMU Vhost-User Applied to Snabbswitch Ethernet Switch
摘要:The purpose of this document is to introduce the reader to the vhost-user feature for QEMU that was developed by Virtual Open Systems for use by the S 阅读全文

posted @ 2020-11-05 14:54 tycoon3 阅读(203) 评论(0) 推荐(0)

qemu-system-aarch64 + telnet
摘要:https://mails.dpdk.org/archives/dts/2016-August/001780.html virt-sysprep -a vhuser-test1.qcow2 --network --install "telnet*" #qemu-system-aarch64 -nam 阅读全文

posted @ 2020-11-05 14:36 tycoon3 阅读(656) 评论(0) 推荐(0)

virt-sysprep virt-customize
摘要:virt-customize -a $1.qcow2 --run-command 'yum install -y wget' virt-builder fedora-27 \ --hostname client.example.com \ --update \ --install puppet \ 阅读全文

posted @ 2020-11-05 10:44 tycoon3 阅读(484) 评论(0) 推荐(0)

qemu-system-aarch64 启动虚拟机
摘要:[root@localhost cloud_images]# guestfish -rw -a vhuser-test1.qcow2 guestfish: cannot mix --ro and --rw options [root@localhost cloud_images]# guestfis 阅读全文

posted @ 2020-11-04 20:42 tycoon3 阅读(9195) 评论(0) 推荐(1)

libvirt Installation
摘要:yum install gnutls-devel yum install libxml2-devel yum install yajl-devel XDR is required for remote driver : yum install libtirpc-devel pip3 install 阅读全文

posted @ 2020-11-04 18:05 tycoon3 阅读(1365) 评论(1) 推荐(0)

Linux QEMU - Guest can SSH to Host, but Host to Guest
摘要:Here is the command I use to boot QEMU: qemu-system-aarch64 -M virt -m 32768 -cpu cortex-a72 \ -kernel $VMLINUZ \ -initrd $INITRD \ -append 'root=/dev 阅读全文

posted @ 2020-11-04 16:55 tycoon3 阅读(229) 评论(0) 推荐(0)

编译qemu-kvm和安装qemu-kvm
摘要:libvirt 編譯 https://opengers.github.io/virtualization/kvm-libvirt-qemu-1/ http://smilejay.com/2012/06/qemu-kvm_compilation_installation/ 3.4 编译和安装qemu- 阅读全文

posted @ 2020-11-04 15:06 tycoon3 阅读(3540) 评论(0) 推荐(0)

qemu-system-aarch64: failed to find romfile "efi-virtio.rom"
摘要:编译qemu时没有执行make install 阅读全文

posted @ 2020-11-04 14:30 tycoon3 阅读(2022) 评论(0) 推荐(0)

上一页 1 2 3 4 下一页

导航