Re: [osv-dev] Re: OSv in QEMU blog

2020-11-13 Thread Dor Laor
Impressive work and numbers! Worth to link the presentation from the blog
since I was looking for those numbers too.

On Fri, Nov 13, 2020 at 12:29 PM Waldek Kozaczuk 
wrote:

> Fotis,
>
> Congratulations on your article and diploma! I have looked at the slides -
> https://github.com/foxeng/diploma/blob/master/slides.pdf - but I cannot
> read Greek :-)
>
> Regards,
> Waldek
>
> PS. It would be nice to see some improved tooling around virtio-fs in
> capstan and so on.
> On Thursday, November 12, 2020 at 5:09:07 PM UTC-5 Fotis Xenakis wrote:
>
>> Hello everyone,
>>
>> OSv is featured in the most recent post on QEMU's blog [1], with regard
>> to its usage of virtio-fs. I was invited to write that post after the
>> virtio-fs devs showed interest in our use case. Also, I 'd like to
>> apologize for omitting to include you in the original discussion (should be
>> more inclusive in the future).
>>
>> Regards,
>> Fotis
>>
>> [1] https://www.qemu.org/2020/11/03/osv-virtio-fs/
>>
> --
> You received this message because you are subscribed to the Google Groups
> "OSv Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to osv-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osv-dev/68720f34-f908-491d-ad9e-e5e175ab741cn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/CAKUaUn4wT%2B%2B4gQ2L3hL1WSUyBUGjoc84yPFKsyS1jCoCL5J-XQ%40mail.gmail.com.


[osv-dev] Re: OSv in QEMU blog

2020-11-13 Thread Waldek Kozaczuk
Fotis,

Congratulations on your article and diploma! I have looked at the slides 
- https://github.com/foxeng/diploma/blob/master/slides.pdf - but I cannot 
read Greek :-)

Regards,
Waldek

PS. It would be nice to see some improved tooling around virtio-fs in 
capstan and so on.
On Thursday, November 12, 2020 at 5:09:07 PM UTC-5 Fotis Xenakis wrote:

> Hello everyone,
>
> OSv is featured in the most recent post on QEMU's blog [1], with regard to 
> its usage of virtio-fs. I was invited to write that post after the 
> virtio-fs devs showed interest in our use case. Also, I 'd like to 
> apologize for omitting to include you in the original discussion (should be 
> more inclusive in the future).
>
> Regards,
> Fotis
>
> [1] https://www.qemu.org/2020/11/03/osv-virtio-fs/
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/68720f34-f908-491d-ad9e-e5e175ab741cn%40googlegroups.com.


[osv-dev] Re: How to add a new malloc interface

2020-11-13 Thread Waldek Kozaczuk
Hi,

Welcome to the OSv community!

Obviously, you can easily add new malloc* function implementation to OSv. 
This would be a wrapper function on top of regular malloc and memset. But 
what would be a benefit of it comparing to this code:

auto *p = malloc(size);
memset(p, 'a', size);

My regards,
Waldek
On Wednesday, November 11, 2020 at 2:13:06 AM UTC-5 Lewis Tian wrote:

> Hi everyone,
> I want to add a new malloc interface in osv, such as "void 
> *malloc_with_default(size_t t, char c);".
> "malloc_with_default" accepts two args: the first is the malloc memory 
> bytes and the second is the default char to fill the memory.
>
> Therefore, the follow code will print "a".
>
> ```C
> #include 
> #include 
>
> int main(int argc, char *argv[]) {
> int size = 5;
> char *p = (char *)malloc_with_default(size, 'a');
> for (size_t i = 0; i < size; i++) {
> printf("%c", *(p+i));
> }
> return 0;
> }
> ```
>
> How can I do this? Could you please help me?
>
> Best regards,
> Lewis Tian
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/9d45906c-a9ba-480f-8a19-50400993e1den%40googlegroups.com.