coldfunction / qcuda Goto Github PK
View Code? Open in Web Editor NEWqCUDA: GPGPU Virtualization at a New API Remoting Method with Para-virtualization
qCUDA: GPGPU Virtualization at a New API Remoting Method with Para-virtualization
When I make the qcu-device, the error as follows:
LINK qemu-ga
ld: error: undefined symbol: qemu_set_cloexec
>>> referenced by main.c:304 (qga/main.c:304)
>>> qga/main.o:(ga_unset_frozen)
>>> referenced by main.c:304 (qga/main.c:304)
>>> qga/main.o:(main)
>>> referenced by commands-posix.c:356 (qga/commands-posix.c:356)
>>> qga/commands-posix.o:(qmp_guest_file_open)
ld: error: undefined symbol: qemu_open
>>> referenced by main.c:314 (qga/main.c:314)
>>> qga/main.o:(ga_open_pidfile)
>>> referenced by commands-posix.c:1220 (qga/commands-posix.c:1220)
>>> qga/commands-posix.o:(qmp_guest_fsfreeze_freeze_list)
>>> referenced by commands-posix.c:1278 (qga/commands-posix.c:1278)
>>> qga/commands-posix.o:(qmp_guest_fsfreeze_thaw)
>>> referenced by commands-posix.c:1368 (qga/commands-posix.c:1368)
>>> qga/commands-posix.o:(qmp_guest_fstrim)
>>> referenced by channel-posix.c:137 (qga/channel-posix.c:137)
>>> qga/channel-posix.o:(ga_channel_new)
>>> referenced by channel-posix.c:165 (qga/channel-posix.c:165)
>>> qga/channel-posix.o:(ga_channel_new)
ld: error: undefined symbol: error_set
>>> referenced by main.c:912 (qga/main.c:912)
>>> qga/main.o:(ga_get_fd_handle)
>>> referenced by main.c:581 (qga/main.c:581)
>>> qga/main.o:(process_event)
>>> referenced by main.c:601 (qga/main.c:601)
>>> qga/main.o:(process_event)
>>> referenced by commands-posix.c:0 (qga/commands-posix.c:0)
>>> qga/commands-posix.o:(qmp_guest_shutdown)
>>> referenced by commands-posix.c:0 (qga/commands-posix.c:0)
>>> qga/commands-posix.o:(qmp_guest_set_time)
>>> referenced by commands-posix.c:304 (qga/commands-posix.c:304)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:257 (qga/commands-posix.c:257)
>>> qga/commands-posix.o:(qmp_guest_file_close)
>>> referenced by commands-posix.c:0 (qga/commands-posix.c:0)
>>> qga/commands-posix.o:(qmp_guest_file_read)
>>> referenced by commands-posix.c:257 (qga/commands-posix.c:257)
>>> qga/commands-posix.o:(qmp_guest_file_write)
>>> referenced by commands-posix.c:525 (qga/commands-posix.c:525)
>>> qga/commands-posix.o:(qmp_guest_file_write)
>>> referenced 36 more times
ld: error: undefined symbol: module_call_init
>>> referenced by main.c:961 (qga/main.c:961)
>>> qga/main.o:(main)
ld: error: undefined symbol: qemu_get_local_state_pathname
>>> referenced by main.c:121 (qga/main.c:121)
>>> qga/main.o:(main)
>>> referenced by main.c:123 (qga/main.c:123)
>>> qga/main.o:(main)
ld: error: undefined symbol: error_get_pretty
>>> referenced by main.c:583 (qga/main.c:583)
>>> qga/main.o:(process_event)
>>> referenced by commands-posix.c:1324 (qga/commands-posix.c:1324)
>>> qga/commands-posix.o:(guest_fsfreeze_cleanup)
>>> referenced by channel-posix.c:198 (qga/channel-posix.c:198)
>>> qga/channel-posix.o:(ga_channel_new)
>>> referenced by qmp-dispatch.c:118 (qapi/qmp-dispatch.c:118)
>>> qmp-dispatch.o:(qmp_build_error_object) in archive libqemuutil.a
>>> referenced by qmp-dispatch.c:118 (qapi/qmp-dispatch.c:118)
>>> qmp-dispatch.o:(qmp_dispatch) in archive libqemuutil.a
ld: error: undefined symbol: error_free
>>> referenced by main.c:586 (qga/main.c:586)
>>> qga/main.o:(process_event)
>>> referenced by main.c:603 (qga/main.c:603)
>>> qga/main.o:(process_event)
>>> referenced by commands-posix.c:1916 (qga/commands-posix.c:1916)
>>> qga/commands-posix.o:(qmp_guest_set_vcpus)
>>> referenced by commands-posix.c:2135 (qga/commands-posix.c:2135)
>>> qga/commands-posix.o:(transfer_memory_block)
>>> referenced by commands-posix.c:2163 (qga/commands-posix.c:2163)
>>> qga/commands-posix.o:(transfer_memory_block)
>>> referenced by commands-posix.c:2180 (qga/commands-posix.c:2180)
>>> qga/commands-posix.o:(transfer_memory_block)
>>> referenced by commands-posix.c:1325 (qga/commands-posix.c:1325)
>>> qga/commands-posix.o:(guest_fsfreeze_cleanup)
>>> referenced by channel-posix.c:199 (qga/channel-posix.c:199)
>>> qga/channel-posix.o:(ga_channel_new)
>>> referenced by qmp-dispatch.c:132 (qapi/qmp-dispatch.c:132)
>>> qmp-dispatch.o:(qmp_dispatch) in archive libqemuutil.a
>>> referenced by json-parser.c:109 (qobject/json-parser.c:109)
>>> json-parser.o:(parse_error) in archive libqemuutil.a
ld: error: undefined symbol: error_set_errno
>>> referenced by commands-posix.c:68 (qga/commands-posix.c:68)
>>> qga/commands-posix.o:(qmp_guest_shutdown)
>>> referenced by commands-posix.c:108 (qga/commands-posix.c:108)
>>> qga/commands-posix.o:(qmp_guest_shutdown)
>>> referenced by commands-posix.c:139 (qga/commands-posix.c:139)
>>> qga/commands-posix.o:(qmp_guest_get_time)
>>> referenced by commands-posix.c:68 (qga/commands-posix.c:68)
>>> qga/commands-posix.o:(qmp_guest_set_time)
>>> referenced by commands-posix.c:0 (qga/commands-posix.c:0)
>>> qga/commands-posix.o:(qmp_guest_set_time)
>>> referenced by commands-posix.c:367 (qga/commands-posix.c:367)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:353 (qga/commands-posix.c:353)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:359 (qga/commands-posix.c:359)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:0 (qga/commands-posix.c:0)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:454 (qga/commands-posix.c:454)
>>> qga/commands-posix.o:(qmp_guest_file_close)
>>> referenced 32 more times
ld: error: undefined symbol: error_propagate
>>> referenced by commands-posix.c:114 (qga/commands-posix.c:114)
>>> qga/commands-posix.o:(qmp_guest_shutdown)
>>> referenced by commands-posix.c:203 (qga/commands-posix.c:203)
>>> qga/commands-posix.o:(qmp_guest_set_time)
>>> referenced by commands-posix.c:382 (qga/commands-posix.c:382)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:420 (qga/commands-posix.c:420)
>>> qga/commands-posix.o:(qmp_guest_file_open)
>>> referenced by commands-posix.c:1072 (qga/commands-posix.c:1072)
>>> qga/commands-posix.o:(qmp_guest_get_fsinfo)
>>> referenced by commands-posix.c:1084 (qga/commands-posix.c:1084)
>>> qga/commands-posix.o:(qmp_guest_get_fsinfo)
>>> referenced by commands-posix.c:0 (qga/commands-posix.c:0)
>>> qga/commands-posix.o:(qmp_guest_fsfreeze_freeze_list)
>>> referenced by commands-posix.c:1140 (qga/commands-posix.c:1140)
>>> qga/commands-posix.o:(execute_fsfreeze_hook)
>>> referenced by commands-posix.c:1272 (qga/commands-posix.c:1272)
>>> qga/commands-posix.o:(qmp_guest_fsfreeze_thaw)
>>> referenced by commands-posix.c:1353 (qga/commands-posix.c:1353)
>>> qga/commands-posix.o:(qmp_guest_fstrim)
>>> referenced 884 more times
ld: error: undefined symbol: pstrcpy
>>> referenced by commands-posix.c:1670 (qga/commands-posix.c:1670)
>>> qga/commands-posix.o:(qmp_guest_network_get_interfaces)
ld: error: undefined symbol: qemu_write_full
>>> referenced by commands-posix.c:1990 (qga/commands-posix.c:1990)
>>> qga/commands-posix.o:(qmp_guest_set_user_password)
ld: error: undefined symbol: unix_listen
>>> referenced by channel-posix.c:196 (qga/channel-posix.c:196)
>>> qga/channel-posix.o:(ga_channel_new)
ld: error: undefined symbol: qemu_accept
>>> referenced by channel-posix.c:39 (qga/channel-posix.c:39)
>>> qga/channel-posix.o:(ga_channel_listen_accept)
ld: error: undefined symbol: qemu_set_nonblock
>>> referenced by channel-posix.c:45 (qga/channel-posix.c:45)
>>> qga/channel-posix.o:(ga_channel_listen_accept)
ld: error: undefined symbol: register_module_init
>>> referenced by qga-qmp-marshal.c:1294 (qga/qapi-generated/qga-qmp-marshal.c:1294)
>>> qga/qapi-generated/qga-qmp-marshal.o:(do_qemu_init_qmp_init_marshal)
ld: error: undefined symbol: error_get_class
>>> referenced by qmp-dispatch.c:117 (qapi/qmp-dispatch.c:117)
>>> qmp-dispatch.o:(qmp_build_error_object) in archive libqemuutil.a
>>> referenced by qmp-dispatch.c:117 (qapi/qmp-dispatch.c:117)
>>> qmp-dispatch.o:(qmp_dispatch) in archive libqemuutil.a
ld: error: undefined symbol: strstart
>>> referenced by qdict.c:624 (qobject/qdict.c:624)
>>> qdict.o:(qdict_extract_subqdict) in archive libqemuutil.a
>>> referenced by qdict.c:639 (qobject/qdict.c:639)
>>> qdict.o:(qdict_array_split) in archive libqemuutil.a
>>> referenced by qdict.c:639 (qobject/qdict.c:639)
>>> qdict.o:(qdict_array_entries) in archive libqemuutil.a
>>> referenced by qdict.c:759 (qobject/qdict.c:759)
>>> qdict.o:(qdict_array_entries) in archive libqemuutil.a
ld: error: undefined symbol: mod_utf8_codepoint
>>> referenced by qjson.c:152 (qobject/qjson.c:152)
>>> qjson.o:(to_json) in archive libqemuutil.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:293: recipe for target 'qemu-ga' failed
make: *** [qemu-ga] Error 1
I am trying to "make" the "qcu-driver", it throws me below error
vm2@vm2:~/test_appl/src/qCUDA-master/qcu-driver$ make i
[sudo] password for vm2:
sudo rmmod qcuda
sudo dmesg -C
sudo insmod qcuda.ko
sudo chmod 666 /dev/qcuda
chmod: cannot access '/dev/qcuda': No such file or directory
Makefile:25: recipe for target 'i' failed
make: [i] Error 1 (ignored)
Do I have to make a device file name "qcuda" in /dev directory, if Yes, then what should be the parameters??
I understand that the source code is using misc device to create a device file in /dev directory. Just for the info, the kernel module qcuda.ko is created and launched without fail. However the misc device "qcuda" is not created in /dev directory. @coldfunction @rlmh @ginsongsong @good5dog5
I want to hook guest cuda api on windows and transform them to host linux.
Does it support hook cuda on windows?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.