packet come from primary char indev will be send to
outdev - packet come from secondary char dev will be drop
usage:
primary:
-netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
-device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66
-chardev socket,id=mirror0,host=3.3.3.3
On 2016年05月13日 11:48, Jason Wang wrote:
On 2016年05月12日 16:16, Zhang Chen wrote:
On 05/12/2016 04:01 PM, Jason Wang wrote:
On 2016年05月12日 14:49, Zhang Chen wrote:
On 05/09/2016 06:49 PM, Zhang Chen wrote:
+
+s->chr_sec_in = qemu_chr_find(s->sec_indev);
+if (s->chr_sec_in ==
On Fri, 05/20 10:46, Jason Wang wrote:
>
>
> On 2016年05月13日 11:48, Jason Wang wrote:
> >
> >
> > On 2016年05月12日 16:16, Zhang Chen wrote:
> > >
> > >
> > > On 05/12/2016 04:01 PM, Jason Wang wrote:
> > > >
> > > >
> > > > On 2016年05月12日 14:49, Zhang Chen wrote:
> > > > >
> > > > >
> > > >
On 04/29/2016 10:03 AM, Jason Wang wrote:
On 04/28/2016 05:04 PM, Zhang Chen wrote:
On 04/28/2016 04:17 PM, Jason Wang wrote:
On 04/28/2016 03:55 PM, Zhang Chen wrote:
On 04/28/2016 03:16 PM, Jason Wang wrote:
On 04/28/2016 02:53 PM, Jason Wang wrote:
+static void compare_set_outdev(Obje
On 05/06/2016 01:42 PM, Zhang Chen wrote:
>
>
> On 04/29/2016 10:03 AM, Jason Wang wrote:
>>
>> On 04/28/2016 05:04 PM, Zhang Chen wrote:
>>>
>>> On 04/28/2016 04:17 PM, Jason Wang wrote:
On 04/28/2016 03:55 PM, Zhang Chen wrote:
> On 04/28/2016 03:16 PM, Jason Wang wrote:
>> On 04/2
+
+s->chr_sec_in = qemu_chr_find(s->sec_indev);
+if (s->chr_sec_in == NULL) {
+error_setg(errp, "Secondary IN Device '%s' not found",
+ s->sec_indev);
+return;
+}
+
+s->chr_out = qemu_chr_find(s->outdev);
+if (s->chr_out == NULL) {
+e
On 05/09/2016 06:49 PM, Zhang Chen wrote:
+
+s->chr_sec_in = qemu_chr_find(s->sec_indev);
+if (s->chr_sec_in == NULL) {
+error_setg(errp, "Secondary IN Device '%s' not found",
+ s->sec_indev);
+return;
+}
+
+s->chr_out = qemu_chr_find(s->outde
On 2016年05月12日 14:49, Zhang Chen wrote:
On 05/09/2016 06:49 PM, Zhang Chen wrote:
+
+s->chr_sec_in = qemu_chr_find(s->sec_indev);
+if (s->chr_sec_in == NULL) {
+error_setg(errp, "Secondary IN Device '%s' not found",
+ s->sec_indev);
+return;
+}
On 05/12/2016 04:01 PM, Jason Wang wrote:
On 2016年05月12日 14:49, Zhang Chen wrote:
On 05/09/2016 06:49 PM, Zhang Chen wrote:
+
+s->chr_sec_in = qemu_chr_find(s->sec_indev);
+if (s->chr_sec_in == NULL) {
+error_setg(errp, "Secondary IN Device '%s' not found",
+
On 2016年05月12日 16:16, Zhang Chen wrote:
On 05/12/2016 04:01 PM, Jason Wang wrote:
On 2016年05月12日 14:49, Zhang Chen wrote:
On 05/09/2016 06:49 PM, Zhang Chen wrote:
+
+s->chr_sec_in = qemu_chr_find(s->sec_indev);
+if (s->chr_sec_in == NULL) {
+error_setg(errp, "Seconda
On 04/18/2016 07:11 PM, Zhang Chen wrote:
> packet come from primary char indev will be send to
> outdev - packet come from secondary char dev will be drop
>
> usage:
>
> primary:
> -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
> -device e1000,id=e0,netdev=hn0,mac
On 04/28/2016 02:53 PM, Jason Wang wrote:
> +static void compare_set_outdev(Object *obj, const char *value, Error **errp)
> > +{
> > +CompareState *s = COLO_COMPARE(obj);
> > +
> > +g_free(s->outdev);
> > +s->outdev = g_strdup(value);
> > +}
> > +
> > +/*
> > + * called from the main
On 04/28/2016 02:53 PM, Jason Wang wrote:
On 04/18/2016 07:11 PM, Zhang Chen wrote:
packet come from primary char indev will be send to
outdev - packet come from secondary char dev will be drop
usage:
primary:
-netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
-d
On 04/28/2016 03:16 PM, Jason Wang wrote:
On 04/28/2016 02:53 PM, Jason Wang wrote:
+static void compare_set_outdev(Object *obj, const char *value, Error **errp)
+{
+CompareState *s = COLO_COMPARE(obj);
+
+g_free(s->outdev);
+s->outdev = g_strdup(value);
+}
+
+/*
+ * called from
On 04/28/2016 03:55 PM, Zhang Chen wrote:
>
>
> On 04/28/2016 03:16 PM, Jason Wang wrote:
>>
>> On 04/28/2016 02:53 PM, Jason Wang wrote:
>>> +static void compare_set_outdev(Object *obj, const char *value,
>>> Error **errp)
+{
+CompareState *s = COLO_COMPARE(obj);
+
+g
On 04/28/2016 03:53 PM, Zhang Chen wrote:
>
>
> On 04/28/2016 02:53 PM, Jason Wang wrote:
>>
>> On 04/18/2016 07:11 PM, Zhang Chen wrote:
>>> packet come from primary char indev will be send to
>>> outdev - packet come from secondary char dev will be drop
>>>
>>> usage:
>>>
>>> primary:
>>> -netd
On 04/28/2016 04:17 PM, Jason Wang wrote:
On 04/28/2016 03:55 PM, Zhang Chen wrote:
On 04/28/2016 03:16 PM, Jason Wang wrote:
On 04/28/2016 02:53 PM, Jason Wang wrote:
+static void compare_set_outdev(Object *obj, const char *value,
Error **errp)
+{
+CompareState *s = COLO_COMPARE(obj)
On 04/18/2016 05:11 AM, Zhang Chen wrote:
s/initlization/initialization/ in the subject
> packet come from primary char indev will be send to
> outdev - packet come from secondary char dev will be drop
Grammar suggestion:
Packets coming from the primary char indev will be sent to outdev;
packet
On 04/29/2016 04:55 AM, Eric Blake wrote:
On 04/18/2016 05:11 AM, Zhang Chen wrote:
s/initlization/initialization/ in the subject
OK~
packet come from primary char indev will be send to
outdev - packet come from secondary char dev will be drop
Grammar suggestion:
Packets coming from the
On 04/28/2016 05:04 PM, Zhang Chen wrote:
>
>
> On 04/28/2016 04:17 PM, Jason Wang wrote:
>>
>> On 04/28/2016 03:55 PM, Zhang Chen wrote:
>>>
>>> On 04/28/2016 03:16 PM, Jason Wang wrote:
On 04/28/2016 02:53 PM, Jason Wang wrote:
> +static void compare_set_outdev(Object *obj, const char
On 04/29/2016 10:03 AM, Jason Wang wrote:
On 04/28/2016 05:04 PM, Zhang Chen wrote:
On 04/28/2016 04:17 PM, Jason Wang wrote:
On 04/28/2016 03:55 PM, Zhang Chen wrote:
On 04/28/2016 03:16 PM, Jason Wang wrote:
On 04/28/2016 02:53 PM, Jason Wang wrote:
+static void compare_set_outdev(Obje
21 matches
Mail list logo