Re: Setting custom field in struct thread from bhyverun code

2015-06-05 Thread Neel Natu
Hi Stefan, On Fri, Jun 5, 2015 at 10:23 AM, Stefan Andritoiu wrote: > I've added a new field to struct thread and want to set it's value > when the VCPU thread is created. I need this new field in the ULE > scheduler. > My plan was this: in the fbsdrun_start_thread() function make a > custom-ioct

Setting custom field in struct thread from bhyverun code

2015-06-05 Thread Stefan Andritoiu
I've added a new field to struct thread and want to set it's value when the VCPU thread is created. I need this new field in the ULE scheduler. My plan was this: in the fbsdrun_start_thread() function make a custom-ioctl call {ioctl(ctx->fd, VM_SET_CUSTOM, ..)} to set it. But I have no idea how to