Comments (6)
Hi @KamranMiadi,
Thanks for using this library.
We need to add support pointer returns (aka lists).
This would actually unlock a few of the whitelists.
in impl_default.js we need to customise the return to check if it's an array then build the array and return it (currently we only handle scalar returns with exception of impl_list_all which we could use as an example, as well as https://github.com/libvirt/libvirt-python/blob/master/libvirt-override-virConnect.py#L664)
I can have a look at it this weekend if that's works for you,
otherwise if you're interested in giving it a go -- I'd be more than happy to help 👍
from libvirt-node.
Thanks for your answer @RamyElkest
I will put more time to it and inform you if I made any progress.
Thanks again. 🙏
from libvirt-node.
Hi @RamyElkest .
Can you look it up this weekend?
I tried myself but couldn't fix it.
from libvirt-node.
Yup -- giving it a go
@KamranMiadi can you confirm which method(s) you're interested in/missing?
I presume virDomainListGetStats
but any more?
from libvirt-node.
yeah i need that and i need functions to add gpu to VM and monitor gpu as swell
but haven't checked which functions they are.
@RamyElkest
from libvirt-node.
Hi @RamyElkest .
Can you be more specific on how to fix this issue?
I've been trying to fix it with what you said in earlier comments for more than a week. but had no luck.
I can't figure out how impl_default.js works.
Also functions listAllStoragePools()
and listAllDomains()
return error
Assertion status == napi_ok' failed.
.
I guess they return list too.
from libvirt-node.
Related Issues (14)
- Add travis to project HOT 1
- Create minimal manual bindings HOT 1
- Strings (essentially pointers) as arguments can be nullable HOT 1
- free returned char *
- validate napi_int64 mappings
- pointers and flags arguments that can be optional should default to null/0
- Virtualization mis-spelt in Github repo topics HOT 1
- Experimenting with Express and Libvirt-node keeps crashing HOT 3
- getUUIDString() errors HOT 5
- Break down impl default generator into subgenerators
- Error messages HOT 1
- Error due to passing wrong variable to `libvirt_native.virStoragePoolListAllVolumes` HOT 1
- Add Dockerfile to build easily and locally HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libvirt-node.