在线挂载虚拟磁盘流程

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:27   1054   0

virDomainAttachDevice->
remoteDomainAttachDevice->

libxlDomainAttachDevice-> libxlDomainAttachDeviceFlags
-> libxlDomainModifyDeviceFlags
-> libxlDomainAttachDeviceLive
-> libxlDomainAttachDeviceDiskLive
-> libxlMakeDisk

#0 libxlDomainAttachDevice (dom=0x7ffbb0,
xml=0x7ec530 " <disk type='block' device='disk'>\n <driver name='phy'/>\n <source dev='/dev/mapper/wy
f-3'/>\n <target dev='xvdb' bus='xen'/>\n </disk>\n\n\n") at libxl/libxl_driver.c:3424
#1 0x00007fb55be52913 in virDomainAttachDevice (domain=0x7ffbb0,
xml=0x7ec530 " <disk type='block' device='disk'>\n <driver name='phy'/>\n <source dev='/dev/mapper/wy
f-3'/>\n <target dev='xvdb' bus='xen'/>\n </disk>\n\n\n") at libvirt.c:9976
#2 0x0000000000448425 in remoteDispatchDomainAttachDevice (server=0x7b5710, client=0x7fb54c004470,
msg=0x7fb54c048080, rerr=0x7fb5587b4ba0, args=0x7ffbf0) at remote_dispatch.h:320
#3 0x0000000000448512 in remoteDispatchDomainAttachDeviceHelper (server=0x7b5710, client=0x7fb54c004470,
msg=0x7fb54c048080, rerr=0x7fb5587b4ba0, args=0x7ffbf0, ret=0x775bf0) at remote_dispatch.h:298
#4 0x00007fb55beb52f6 in virNetServerProgramDispatchCall (prog=0x7c07d0, server=0x7b5710, client=0x7fb54c004470,
msg=0x7fb54c048080) at rpc/virnetserverprogram.c:416
#5 0x00007fb55beb572c in virNetServerProgramDispatch (prog=0x7c07d0, server=0x7b5710, client=0x7fb54c004470,
msg=0x7fb54c048080) at rpc/virnetserverprogram.c:289
#6 0x00007fb55beb20ed in virNetServerHandleJob (jobOpaque=0x7fb54c004990, opaque=0x7b5710) at rpc/virnetserver.c:164
#7 0x00007fb55bdc368d in virThreadPoolWorker (opaque=0x77a2f0) at util/threadpool.c:144
#8 0x00007fb55bdc2bcf in virThreadHelper (data=0x77a270) at util/threads-pthread.c:161
#9 0x00007fb5599905f0 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb5592f884d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP