Coder Social home page Coder Social logo

coldfunction / qcuda Goto Github PK

View Code? Open in Web Editor NEW
103.0 7.0 34.0 92.11 MB

qCUDA: GPGPU Virtualization at a New API Remoting Method with Para-virtualization

Makefile 0.70% C 88.57% Shell 0.66% C++ 5.73% Lex 0.02% Yacc 0.03% Assembly 1.42% Batchfile 0.01% Perl 0.25% Haxe 0.19% Objective-C 0.05% Python 1.51% NSIS 0.01% Forth 0.78% PHP 0.08% HTML 0.01% GDB 0.01% QMake 0.01% XSLT 0.02% Awk 0.01%
gpu-computing gpgpu-computing cuda cuda-runtime guest-os virtio memory-allocation qemu driver virtualization

qcuda's Issues

Makefile error : chmod: cannot access '/dev/qcuda': No such file or directory

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

Makefile:293: recipe for target 'qemu-ga' failed

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.