staticvoiddigic_uart_write(void*opaque, hwaddr addr,uint64_tvalue,unsignedsize){ DigicUartState *s = opaque;unsignedcharch = value; addr >>=2;switch(addr) {caseR_TX:if(s->chr) { qemu_chr_fe_write_all(s->chr, &ch,1); }break;caseR_ST:/* * Ignore write to R_ST. * * The ...
chr= qemu_chr_fe_get_driver(&s->chr); trace_vhost_user_event(chr->label,event);switch(event) {caseCHR_EVENT_OPENED:info_report("net_vhost_user_event process CHR_EVENT_OPENED and call vhost_user_start");if(vhost_user_start(queues, ncs, s->vhost_user) <0) {qemu_chr_fe_disconnect(...
* all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ...
hw: replace most use of qemu_chr_fe_write with qemu_chr_fe_write_all Sep 14, 2016 stubs tests: cleanup ptimer-test Oct 18, 2016 target-alpha target-alpha: Emulate LL/SC using cmpxchg helpers Oct 26, 2016 target-arm target-arm: remove EXCP_STREX + cpu_exclusive_{test, info} ...
master stable-1.7 stable-1.6 stable-1.5 stable-1.4 stable-1.3 stable-1.2 stable-1.1 stable-1.0 stable-0.15 stable-0.14 stable-0.13 stable-0.12 staging stable-0.11 stable-0.10 v2.0.0 v2.0.0-rc3 v2.0.0-rc2 v2.0.0-rc1 v2.0.0-rc0 v1.7.1 v1.6.2 v1.7.0 v1.7.0-rc2 v1.7.0-rc1 v1....
qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \ -numa node,memdev=mem \ -chardev socket,id=chr0,path=/path/to/socket \ -netdev type=vhost-user,id=net0,chardev=chr0 \ -device virtio-net-pci,netdev=net0 -netdev vhost-vdpa[,vhostdev=/path...
disk_dev= dev_prefix + chr(ord('a') +idx)ifnot has_disk_dev(mapping, disk_dev):ifdisk_dev notinassigned_devices:returndisk_dev 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. ...
aoechr.c: 6092 aoecmd.c: 23023 aoedev.c: 5392 aoe.h: 4748 aoemain.c: 2032 aoenet.c: 3237 aoe.txt: 4600 aops.c: 49318 aops.h: 4017 a.out-core.h: 2444 a.out.h: 2438 ap325rxa_defconfig: 31462 apanel.c: 8043 apb.h: 1043 ap_bus.c: 45317 ap_bus....
disk_dev= dev_prefix + chr(ord('a') +idx)ifnot has_disk_dev(mapping, disk_dev):ifdisk_dev notinassigned_devices:returndisk_dev 可以看出,nova 还是做了不少事情来尽量保证 device name 的一致性,它已经做了它该做的了,只是由于 KVM 不支持,它无法做到完美。
disk_dev= dev_prefix + chr(ord('a') +idx)ifnot has_disk_dev(mapping, disk_dev):ifdisk_dev notinassigned_devices:returndisk_dev 可以看出,nova 还是做了不少事情来尽量保证 device name 的一致性,它已经做了它该做的了,只是由于 KVM 不支持,它无法做到完美。