Re: [Qemu-devel] [PATCH V3 3/3] qemu-iotests: add tests for runtime fd passing via SCM rights

2013-09-02 Thread Wenchao Xia
于 2013-9-2 22:51, Stefan Hajnoczi 写道: On Mon, Sep 02, 2013 at 05:18:13PM +0800, Wenchao Xia wrote: @@ -125,5 +125,39 @@ class TestFdSets(iotests.QMPTestCase): 'No file descriptor supplied via SCM_RIGHTS') self.vm.shutdown() +#Add fd at runtime, there are two ways: mo

Re: [Qemu-devel] [PATCH V3 3/3] qemu-iotests: add tests for runtime fd passing via SCM rights

2013-09-02 Thread Stefan Hajnoczi
On Mon, Sep 02, 2013 at 05:18:13PM +0800, Wenchao Xia wrote: > @@ -125,5 +125,39 @@ class TestFdSets(iotests.QMPTestCase): > 'No file descriptor supplied via SCM_RIGHTS') > self.vm.shutdown() > > +#Add fd at runtime, there are two ways: monitor related or fdset related >

[Qemu-devel] [PATCH V3 3/3] qemu-iotests: add tests for runtime fd passing via SCM rights

2013-09-02 Thread Wenchao Xia
This case will test whether the monitor can receive fd at runtime. To verify better, additional monitor is created to see if qemu can handler two monitor instances correctly. Signed-off-by: Wenchao Xia --- tests/qemu-iotests/045 | 36 +++- tests/qemu-iotests