VirtualBox

Changes between Version 1 and Version 2 of Ticket #19133, comment 7


Ignore:
Timestamp:
Aug 11, 2020 1:22:12 PM (4 years ago)
Author:
Frank Batschulat (Oracle)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19133, comment 7

    v1 v2  
    1 to picture the description in a bit more detail, that's what happens
    2 when you attempt to use the pipe from the host inside the guest:
     1to picture the description in a bit more detail, that's what happens when you attempt to use the named pipe/fifo from the host inside the guest:
    32
    43{{{
     
    2019 Birth: 2020-08-10 14:53:46.069672000 +0200
    2120}}}
    22 ### now open the pipe/file:
     21### now open the named pipe/fifo file:
    2322{{{
    2423[fbatschu@localhost sf_Music]$ cat TEST_PIPE
     
    4039[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9
    4140}}}
    42 ### write something on the host into the pipe
     41### write something on the host into the named pipe/fifo:
    4342{{{
    4443fbatschu@lserver:~/Music$ echo bla > TEST_PIPE
    4544}}}
    46 ### and the cat in the guest which has the pipe/file open fails
    47 ### with an error
     45### and the cat in the guest which has the named pipe/fifo file
     46### open fails with an error
    4847{{{
    4948[fbatschu@localhost sf_Music]$ cat TEST_PIPE
    5049cat: TEST_PIPE: Protocol error
    5150}}}
    52 ### from inside the guest you cannot create a pipe in the
    53 ### shared folder:
     51### from inside the guest you cannot create a named pipe/fifo ### file in the shared folder file system:
    5452{{{
    5553[fbatschu@localhost sf_Music]$ mkfifo TEST_PIPE_2
    5654mkfifo: cannot create fifo 'TEST_PIPE_2': Operation not permitted
    5755}}}
    58 ### guest writes data to pipe file:
     56### guest writes data to named pipe/fifo file:
    5957{{{
    6058[fbatschu@localhost sf_Music]$ echo "guest" > TEST_PIPE
     
    63611
    6462}}}
    65 ### host process reading from pipe unblocks but receives no data:
     63### host process reading from named pipe/fifo unblocks
     64### but receives no data:
    6665{{{
    6766fbatschu@lserver:~/Music$ cat TEST_PIPE

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy